/* =====================================================================
   PromptifyLab — Article design ("Lab Report")            v3.3.0
   Loaded only on single posts. Uses the --plb-* tokens from style.css,
   so dark mode, brand colours and spacing stay in one place.

   Components the News Desk (and you, in the editor) can use:
   .plb-answer         the short answer (snippet box)
   .plb-story          story file: impact meter + availability/cost chips  [plb_story]
   .plb-takeaways      numbered key takeaways
   .plb-scroll         responsive table wrapper (added automatically)
   .plb-hype           hype vs reality rows
   .plb-who            "what it means for you" reader cards
   .plb-steps          numbered how-to steps
   .plb-fit            who should care / who can skip it
   .plb-box--tip | --warn | --unknown | --note   labelled callouts
   .plb-verdict        our take
   .plb-onething       "if you only do one thing"
   .plb-next           next-step CTA cards                     [plb_next]
   .plb-sources        sources with Official / Report labels
   .plb-closing        closing CTA band
   .plb-readbar        sticky reading progress + section jump
   3.3 reader-first news:
   .plb-lede           the opening (2-3 short paragraphs after the answer)
   .plb-bridge         one-line hand-off between stages
   .plb-shift          Before / Now / For you, in three beats
   .plb-stat           one key number with its meaning
   .plb-quote          verbatim quote from the source (+ .plb-quote__by)
   .plb-watch          what to watch next
   .plb-cite           inline source citation
   .plb-inshort        mid-page summary
   .plb-fresh          "sources checked" line
   ===================================================================== */

body.plb-art{ --plb-art-mono:var(--plb-mono); --plb-art-grad:linear-gradient(90deg,var(--plb-brand),var(--plb-brand-2)); }

/* ---------- Rhythm & headings ---------- */
body.plb-art .entry-content{ counter-reset:plbsec; font-size:1.06rem; }
body.plb-art .entry-content > p,
body.plb-art .entry-content > ul,
body.plb-art .entry-content > ol{ color:var(--plb-ink-2); }
body.plb-art .entry-content > p:first-of-type{ color:var(--plb-ink); }
body.plb-art .entry-content > h2{
  counter-increment:plbsec; position:relative; padding-top:var(--plb-5); margin-top:var(--plb-7);
  border-top:1px solid var(--plb-border);
}
body.plb-art .entry-content > h2::before{
  content:"§ " counter(plbsec, decimal-leading-zero); display:block; margin-bottom:6px;
  font:700 .72rem/1 var(--plb-art-mono); letter-spacing:.12em; color:var(--plb-brand);
}
body.plb-art .entry-content > h2::after{
  content:""; position:absolute; top:-1px; left:0; width:56px; height:3px; border-radius:0 0 3px 3px; background:var(--plb-art-grad);
}
body.plb-art .entry-content h3{ font-size:1.15rem; margin:var(--plb-5) 0 var(--plb-2); }
body.plb-art .entry-content a:not([class]){ text-decoration-thickness:1px; text-underline-offset:3px; text-decoration-color:color-mix(in srgb,var(--plb-brand) 45%,transparent); }
body.plb-art .entry-content a:not([class]):hover{ text-decoration-color:var(--plb-brand); }
body.plb-art .entry-content strong{ color:var(--plb-ink); }

/* Shared "lab label" used by the boxes below */
.plb-art .plb-answer::before,
.plb-story__kicker,
.plb-box::before,
.plb-verdict::before,
.plb-onething::before,
.plb-hype__claim::before,
.plb-hype__real::before,
.plb-fit__yes > h3::before,
.plb-fit__no > h3::before,
.plb-next__kicker{
  font:700 .7rem/1 var(--plb-mono); letter-spacing:.12em; text-transform:uppercase;
}

/* ---------- 1. Short answer ---------- */
body.plb-art .plb-answer{
  position:relative; font-size:1.12rem; line-height:1.65; color:var(--plb-ink);
  padding:calc(var(--plb-5) + 10px) var(--plb-5) var(--plb-5); margin:0 0 var(--plb-4);
  border:1px solid color-mix(in srgb,var(--plb-brand) 30%,var(--plb-border)); border-radius:var(--plb-r-lg);
  background:linear-gradient(135deg,var(--plb-brand-soft),var(--plb-surface) 70%);
  box-shadow:var(--plb-shadow-sm);
}
body.plb-art .plb-answer::before{
  content:"The short answer"; position:absolute; top:-11px; left:var(--plb-5);
  padding:6px 10px; border-radius:999px; background:var(--plb-brand); color:var(--plb-brand-ink);
}

/* ---------- 2. Story file ---------- */
.plb-story{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; margin:0 0 var(--plb-5);
  border:1px solid var(--plb-border); border-radius:var(--plb-r-lg); overflow:hidden; background:var(--plb-border);
}
.plb-story > div{ background:var(--plb-raised); padding:var(--plb-3) var(--plb-4); min-width:0; }
.plb-story__kicker{ display:block; color:var(--plb-muted); margin-bottom:8px; }
.plb-story__val{ font-weight:700; font-size:.98rem; line-height:1.35; color:var(--plb-ink); }
.plb-story__impact{ grid-column:span 2; }
.plb-story__who{ grid-column:1 / -1; }
.plb-story__who .plb-story__val{ font-weight:500; color:var(--plb-ink-2); }
.plb-meter{ display:flex; gap:4px; margin:2px 0 6px; }
.plb-meter i{ flex:1; height:8px; border-radius:3px; background:var(--plb-sunken); border:1px solid var(--plb-border); }
.plb-meter i.on{ background:var(--plb-art-grad); border-color:transparent; }
.plb-meter + small{ display:block; font-size:.86rem; color:var(--plb-ink-2); line-height:1.45; }
.plb-chip{ display:inline-flex; align-items:center; gap:6px; }
.plb-chip::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--plb-muted); flex:none; }
.plb-chip--go::before{ background:var(--plb-verified); box-shadow:0 0 0 3px color-mix(in srgb,var(--plb-verified) 22%,transparent); }
.plb-chip--soon::before{ background:var(--plb-warn); }
.plb-chip--no::before{ background:var(--plb-muted); }
@media (max-width:640px){
  .plb-story{ grid-template-columns:1fr 1fr; }
  .plb-story__impact{ grid-column:1 / -1; }
}

/* ---------- TOC on articles ---------- */
body.plb-art .plb-toc{ background:var(--plb-surface); border-style:dashed; }
body.plb-art .plb-toc ol{ columns:2 240px; column-gap:var(--plb-6); padding-left:0; list-style:none; counter-reset:toc; }
body.plb-art .plb-toc li{ counter-increment:toc; break-inside:avoid; display:flex; gap:10px; margin:0 0 6px; }
body.plb-art .plb-toc li::before{ content:counter(toc, decimal-leading-zero); font:600 .74rem/1.9 var(--plb-mono); color:var(--plb-muted); }

/* ---------- 3. Key takeaways ---------- */
.plb-takeaways{ margin:var(--plb-4) 0 var(--plb-5); }
.plb-takeaways ol, .plb-takeaways ul{ list-style:none; margin:0; padding:0; counter-reset:tk; display:grid; gap:var(--plb-2); }
.plb-takeaways li{
  counter-increment:tk; position:relative; margin:0; padding:var(--plb-3) var(--plb-4) var(--plb-3) 56px;
  background:var(--plb-raised); border:1px solid var(--plb-border); border-radius:var(--plb-r); color:var(--plb-ink); line-height:1.55;
}
.plb-takeaways li::before{
  content:counter(tk); position:absolute; left:14px; top:12px; width:28px; height:28px; border-radius:9px;
  display:grid; place-items:center; font:800 .85rem/1 var(--plb-font); color:#fff; background:var(--plb-art-grad);
}

/* ---------- Tables ---------- */
body.plb-art .plb-scroll{
  border:1px solid var(--plb-border); border-radius:var(--plb-r-lg); background:var(--plb-surface);
  margin:var(--plb-4) 0 var(--plb-5); box-shadow:var(--plb-shadow-sm);
}
body.plb-art .plb-scroll table{ min-width:0; margin:0; font-size:.95rem; }
body.plb-art .plb-scroll table:has(th:nth-child(3)){ min-width:560px; }
body.plb-art .plb-scroll th{ background:var(--plb-sunken); color:var(--plb-ink-2); padding:12px 16px; border-bottom:1px solid var(--plb-border-2); white-space:nowrap; }
body.plb-art .plb-scroll td{ padding:12px 16px; color:var(--plb-ink-2); }
body.plb-art .plb-scroll td:first-child{ font-weight:650; color:var(--plb-ink); }
body.plb-art .plb-scroll tbody tr:nth-child(even) td{ background:color-mix(in srgb,var(--plb-raised) 60%,transparent); }
body.plb-art .plb-scroll tbody tr:last-child td{ border-bottom:0; }
body.plb-art .plb-scroll tbody tr:hover td{ background:color-mix(in srgb,var(--plb-brand) 6%,transparent); }
body.plb-art .plb-scroll caption{ caption-side:bottom; text-align:left; font-size:.84rem; color:var(--plb-muted); padding:10px 16px; border-top:1px solid var(--plb-border); }

/* ---------- 4. Hype vs reality ---------- */
.plb-hype{ display:grid; gap:var(--plb-3); margin:var(--plb-4) 0 var(--plb-5); }
.plb-hype__row{ display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--plb-border); border-radius:var(--plb-r); overflow:hidden; }
.plb-hype__claim, .plb-hype__real{ margin:0 !important; padding:var(--plb-4); font-size:.97rem; line-height:1.55; }
.plb-hype__claim{ background:var(--plb-raised); color:var(--plb-ink-2); }
.plb-hype__real{ background:color-mix(in srgb,var(--plb-verified) 8%,var(--plb-surface)); color:var(--plb-ink); border-left:1px solid var(--plb-border); }
.plb-hype__claim::before{ content:"The hype"; display:block; color:var(--plb-muted); margin-bottom:8px; }
.plb-hype__real::before{ content:"The reality"; display:block; color:var(--plb-verified); margin-bottom:8px; }
@media (max-width:640px){
  .plb-hype__row{ grid-template-columns:1fr; }
  .plb-hype__real{ border-left:0; border-top:1px dashed var(--plb-border-2); }
}

/* ---------- 5. Reader cards ---------- */
.plb-who:has(> :nth-child(4)){ grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); }
.plb-who{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:var(--plb-3); margin:var(--plb-4) 0 var(--plb-5); }
.plb-who__card{
  --c:var(--plb-brand); position:relative; padding:var(--plb-4) var(--plb-4) var(--plb-3); border-radius:var(--plb-r-lg);
  background:var(--plb-surface); border:1px solid var(--plb-border); border-top:4px solid var(--c); box-shadow:var(--plb-shadow-sm);
  display:flex; flex-direction:column;
}
.plb-who__card:nth-child(4n+2){ --c:var(--plb-accent); }
.plb-who__card:nth-child(4n+3){ --c:var(--plb-verified); }
.plb-who__card:nth-child(4n+4){ --c:var(--plb-brand-2); }
.plb-art .entry-content .plb-who__card h3{ margin:0 0 var(--plb-2); font-size:1.02rem; line-height:1.3; }
.plb-who__card p{ margin:0 0 var(--plb-3); font-size:.95rem; color:var(--plb-ink-2); line-height:1.6; }
.plb-who__card p.plb-who__do{ margin:auto 0 0; padding-top:var(--plb-3); border-top:1px dashed var(--plb-border-2); color:var(--plb-ink); font-size:.93rem; }
.plb-who__do strong{ color:var(--c) !important; }

/* ---------- 6. Steps ---------- */
ol.plb-steps{ list-style:none; margin:var(--plb-4) 0 var(--plb-5); padding:0; counter-reset:st; }
ol.plb-steps > li{ counter-increment:st; position:relative; margin:0; padding:0 0 var(--plb-4) 52px; color:var(--plb-ink-2); }
ol.plb-steps > li::before{
  content:counter(st); position:absolute; left:0; top:-2px; width:34px; height:34px; border-radius:50%;
  display:grid; place-items:center; font:800 .9rem/1 var(--plb-font); color:var(--plb-brand);
  background:var(--plb-brand-soft); border:2px solid var(--plb-brand);
}
ol.plb-steps > li:not(:last-child)::after{ content:""; position:absolute; left:16px; top:36px; bottom:4px; width:2px; background:var(--plb-border-2); }
ol.plb-steps > li strong:first-child{ display:block; color:var(--plb-ink); margin-bottom:2px; }

/* ---------- 7. Who should care / skip ---------- */
.plb-fit{ display:grid; grid-template-columns:1fr 1fr; gap:var(--plb-3); margin:var(--plb-4) 0 var(--plb-5); }
.plb-fit__yes, .plb-fit__no{ border-radius:var(--plb-r-lg); padding:var(--plb-4) var(--plb-5); border:1px solid var(--plb-border); }
.plb-fit__yes{ background:color-mix(in srgb,var(--plb-verified) 7%,var(--plb-surface)); border-color:color-mix(in srgb,var(--plb-verified) 35%,var(--plb-border)); }
.plb-fit__no{ background:var(--plb-raised); }
.plb-art .entry-content .plb-fit h3{ margin:0 0 var(--plb-3); font-size:1rem; }
.plb-fit__yes > h3::before{ content:"Care"; display:block; color:var(--plb-verified); margin-bottom:6px; }
.plb-fit__no > h3::before{ content:"Skip"; display:block; color:var(--plb-muted); margin-bottom:6px; }
.plb-fit ul{ list-style:none; margin:0; padding:0; }
.plb-fit li{ position:relative; padding-left:26px; margin:0 0 8px; font-size:.95rem; color:var(--plb-ink-2); line-height:1.5; }
.plb-fit__yes li::before{ content:"✓"; position:absolute; left:0; top:0; font-weight:800; color:var(--plb-verified); }
.plb-fit__no li::before{ content:"–"; position:absolute; left:2px; top:0; font-weight:800; color:var(--plb-muted); }
@media (max-width:640px){ .plb-fit{ grid-template-columns:1fr; } }

/* ---------- 8. Labelled callouts ---------- */
.plb-box{
  --c:var(--plb-brand); position:relative; margin:var(--plb-5) 0; padding:var(--plb-4) var(--plb-5);
  border-radius:var(--plb-r); border:1px solid color-mix(in srgb,var(--c) 30%,var(--plb-border));
  background:color-mix(in srgb,var(--c) 6%,var(--plb-surface)); font-size:.98rem; color:var(--plb-ink);
}
.plb-box::before{ content:"Note"; display:block; color:var(--c); margin-bottom:8px; }
.plb-box > :last-child{ margin-bottom:0; }
.plb-box ul{ margin:0; padding-left:1.2em; }
.plb-box li{ margin-bottom:4px; }
.plb-box--tip{ --c:var(--plb-accent); }
.plb-box--tip::before{ content:"Pro tip"; }
.plb-box--warn{ --c:var(--plb-danger); }
.plb-box--warn::before{ content:"Common mistake"; }
.plb-box--unknown{ --c:var(--plb-brand-2); border-style:dashed; background:var(--plb-surface); }
.plb-box--unknown::before{ content:"Still unconfirmed"; }
.plb-box--note::before{ content:"Good to know"; }
.plb-box--update{ --c:var(--plb-verified); border-left-width:4px; }
.plb-box--update::before{ content:none; }
.plb-box--update .plb-update__label{ margin:0 0 6px; font-size:.78rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--c); }
.plb-box--update p{ margin:0 0 8px; }

/* ---------- 9. Our take ---------- */
.plb-verdict{
  position:relative; margin:var(--plb-4) 0 var(--plb-5); padding:var(--plb-5); border-radius:var(--plb-r-lg);
  border:2px solid transparent;
  background:linear-gradient(var(--plb-surface),var(--plb-surface)) padding-box, var(--plb-art-grad) border-box;
  font-size:1.03rem; color:var(--plb-ink);
}
.plb-verdict::before{ content:"PromptifyLab verdict"; display:block; color:var(--plb-brand); margin-bottom:10px; }
.plb-verdict > :last-child{ margin-bottom:0; }

/* ---------- 10. One thing ---------- */
.plb-onething{
  margin:var(--plb-6) 0; padding:var(--plb-5) var(--plb-5) var(--plb-5) calc(var(--plb-5) + 8px); border-radius:var(--plb-r-lg);
  background:
    radial-gradient(90% 140% at 100% 0%,rgba(139,92,246,.35),transparent 60%),
    radial-gradient(70% 120% at 0% 100%,rgba(255,122,24,.22),transparent 60%),
    #0d1522;
  color:#e8edf3; font-size:1.08rem; line-height:1.6; box-shadow:var(--plb-shadow);
}
.plb-onething::before{ content:"If you only do one thing"; display:block; color:#ffb35c; margin-bottom:10px; }
.plb-onething p{ color:#e8edf3 !important; }
.plb-onething > :last-child{ margin-bottom:0; }
.plb-onething a{ color:#fff; }
.plb-onething strong{ color:#fff !important; }

/* ---------- 11. Next-step CTA cards ---------- */
.plb-next{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:var(--plb-3); margin:var(--plb-4) 0 var(--plb-6); padding:0; list-style:none; }
.plb-next__card{
  position:relative; display:flex; flex-direction:column; gap:6px; margin:0; padding:var(--plb-4) var(--plb-4) var(--plb-4);
  border:1px solid var(--plb-border); border-radius:var(--plb-r-lg); background:var(--plb-surface);
  transition:transform .15s, box-shadow .15s, border-color .15s;
}
.plb-next__card:hover{ transform:translateY(-3px); box-shadow:var(--plb-shadow); border-color:color-mix(in srgb,var(--plb-brand) 45%,var(--plb-border)); }
.plb-next__card:focus-within{ outline:2px solid var(--plb-brand); outline-offset:2px; }
.plb-next__icon{ width:40px; height:40px; border-radius:12px; display:grid; place-items:center; color:#fff; background:var(--plb-art-grad); }
.plb-next__card:nth-child(2) .plb-next__icon{ background:linear-gradient(135deg,var(--plb-accent),#ff4d6d); }
.plb-next__card:nth-child(3) .plb-next__icon{ background:linear-gradient(135deg,var(--plb-verified),#0ea5e9); }
.plb-next__icon .plb-i{ width:20px; height:20px; }
.plb-next__kicker{ color:var(--plb-muted); margin-top:6px; }
.plb-next__title{ font-weight:750; font-size:1.02rem; color:var(--plb-ink); text-decoration:none; line-height:1.3; }
.plb-next__title::after{ content:""; position:absolute; inset:0; border-radius:inherit; }
.plb-next__why{ margin:0; font-size:.9rem; color:var(--plb-ink-2); line-height:1.5; flex:1; }
.plb-next__go{ font-size:.88rem; font-weight:700; color:var(--plb-brand); margin-top:4px; }
.plb-next__card:hover .plb-next__go{ text-decoration:underline; }

/* ---------- 12. Sources ---------- */
.plb-sources{ list-style:none; margin:var(--plb-3) 0 var(--plb-4); padding:0; counter-reset:src; }
.plb-sources li{ counter-increment:src; display:flex; gap:10px; align-items:baseline; margin:0; padding:10px 0; border-bottom:1px solid var(--plb-border); font-size:.95rem; }
.plb-sources li::before{ content:"[" counter(src) "]"; font:600 .8rem/1 var(--plb-mono); color:var(--plb-muted); flex:none; }
.plb-sources a{ word-break:break-word; }
.plb-src-tag{ flex:none; margin-left:auto; font:700 .66rem/1 var(--plb-mono); letter-spacing:.08em; text-transform:uppercase; padding:4px 7px; border-radius:6px; border:1px solid var(--plb-border-2); color:var(--plb-muted); }
.plb-src-tag--official{ color:var(--plb-verified); border-color:color-mix(in srgb,var(--plb-verified) 45%,var(--plb-border)); }
.plb-disclose{ font-size:.86rem; color:var(--plb-muted); background:var(--plb-raised); border:1px solid var(--plb-border); border-radius:var(--plb-r); padding:10px 14px; }

/* ---------- 13. Closing CTA ---------- */
.plb-closing{
  position:relative; overflow:hidden; margin:var(--plb-7) 0 var(--plb-4); padding:var(--plb-6) var(--plb-5); border-radius:var(--plb-r-xl);
  background:linear-gradient(135deg,var(--plb-brand),var(--plb-brand-2)); color:#fff; text-align:center;
}
.plb-closing::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.18;
  background-image:linear-gradient(rgba(255,255,255,.5) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.5) 1px,transparent 1px);
  background-size:28px 28px; mask-image:radial-gradient(70% 90% at 50% 50%,#000,transparent);
}
.plb-closing > *{ position:relative; }
.plb-closing p.plb-closing__title{ color:#fff !important; margin:0 auto 8px; font-weight:800; letter-spacing:-.02em; line-height:1.2; font-size:clamp(1.3rem,1.1rem + .8vw,1.6rem); }
.plb-closing p{ color:rgba(255,255,255,.88) !important; margin:0 auto var(--plb-4); max-width:520px; }
.plb-closing__btns{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.plb-closing .plb-btn{ background:#fff; color:#1a1f36; border-color:#fff; }
.plb-closing .plb-btn:hover{ color:#1a1f36; }
.plb-closing .plb-btn--ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.6); }
.plb-closing .plb-btn--ghost:hover{ color:#fff; border-color:#fff; }

/* ---------- 15. Opening (lede) ---------- */
.plb-lede{ margin:var(--plb-5) 0 var(--plb-4); }
.plb-lede p{ font-size:1.12rem; line-height:1.75; color:var(--plb-ink); margin:0 0 var(--plb-3); }
.plb-lede > :last-child{ margin-bottom:0; }

/* ---------- 16. Bridge between stages ---------- */
body.plb-art .entry-content p.plb-bridge{
  position:relative; margin:var(--plb-6) auto var(--plb-2); max-width:34em; padding:var(--plb-3) 0 0;
  text-align:center; font-size:1.02rem; font-style:italic; line-height:1.6; color:var(--plb-ink-2);
}
body.plb-art .entry-content p.plb-bridge::before{
  content:""; display:block; width:44px; height:3px; margin:0 auto var(--plb-3); border-radius:3px; background:var(--plb-art-grad);
}
body.plb-art .entry-content p.plb-bridge::after{
  content:"↓"; display:block; margin-top:6px; font-style:normal; font-weight:700; color:var(--plb-brand); opacity:.7;
}
body.plb-art .entry-content p.plb-bridge + h2{ margin-top:var(--plb-4); }

/* ---------- 17. Before / Now / For you ---------- */
.plb-shift{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin:var(--plb-5) 0;
  border:1px solid var(--plb-border); border-radius:var(--plb-r-lg); overflow:hidden; background:var(--plb-surface);
  counter-reset:shift;
}
.plb-shift > div{ position:relative; padding:var(--plb-4) var(--plb-4) var(--plb-4); counter-increment:shift; }
.plb-shift > div + div{ border-left:1px solid var(--plb-border); }
.plb-shift > div::before{
  display:block; margin-bottom:8px; font:700 .7rem/1 var(--plb-mono); letter-spacing:.12em; text-transform:uppercase; color:var(--plb-muted);
}
.plb-shift > div:nth-child(1)::before{ content:"Before"; }
.plb-shift > div:nth-child(2)::before{ content:"Now"; color:var(--plb-brand); }
.plb-shift > div:nth-child(3)::before{ content:"For you"; color:var(--plb-verified); }
.plb-shift > div:nth-child(2){ background:color-mix(in srgb,var(--plb-brand) 6%,var(--plb-surface)); }
.plb-shift > div:nth-child(3){ background:color-mix(in srgb,var(--plb-verified) 7%,var(--plb-surface)); }
.plb-shift > div:not(:last-child)::after{
  content:"→"; position:absolute; right:-12px; top:50%; z-index:1; width:24px; height:24px; margin-top:-12px; border-radius:50%;
  display:grid; place-items:center; font-size:.8rem; font-weight:800; color:var(--plb-brand); background:var(--plb-surface); border:1px solid var(--plb-border);
}
.plb-shift p{ margin:0 !important; font-size:.96rem; line-height:1.55; color:var(--plb-ink); }
.plb-shift p + p{ margin-top:6px !important; }
@media (max-width:640px){
  .plb-shift{ grid-template-columns:1fr; }
  .plb-shift > div + div{ border-left:0; border-top:1px solid var(--plb-border); }
  .plb-shift > div:not(:last-child)::after{ content:"↓"; right:auto; left:50%; top:auto; bottom:-12px; margin:0 0 0 -12px; }
}

/* ---------- 18. Key number ---------- */
.plb-stat{
  display:grid; grid-template-columns:auto 1fr; gap:var(--plb-4); align-items:center; margin:var(--plb-5) 0;
  padding:var(--plb-4) var(--plb-5); border-radius:var(--plb-r-lg); border:1px solid var(--plb-border);
  background:linear-gradient(120deg,color-mix(in srgb,var(--plb-brand-2) 9%,var(--plb-surface)),var(--plb-surface) 60%);
}
body.plb-art .entry-content .plb-stat p.plb-stat__num{
  margin:0; font-weight:850; font-size:clamp(2rem,1.6rem + 1.6vw,2.8rem); line-height:1; letter-spacing:-.03em;
  background:var(--plb-art-grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.plb-stat p{ margin:0; font-size:.98rem; line-height:1.55; color:var(--plb-ink); }
@media (max-width:480px){ .plb-stat{ grid-template-columns:1fr; gap:var(--plb-2); } }

/* ---------- 19. Quote ---------- */
.plb-quote{
  position:relative; margin:var(--plb-5) 0; padding:var(--plb-4) var(--plb-5) var(--plb-4) calc(var(--plb-5) + 28px);
  border-left:4px solid var(--plb-brand-2); border-radius:0 var(--plb-r) var(--plb-r) 0; background:var(--plb-raised);
}
.plb-quote::before{
  content:"\201C"; position:absolute; left:14px; top:4px; font:800 3rem/1 Georgia,serif; color:var(--plb-brand-2); opacity:.55;
}
.plb-quote p{ margin:0; font-size:1.08rem; line-height:1.6; color:var(--plb-ink); font-style:italic; }
body.plb-art .entry-content .plb-quote p.plb-quote__by{ margin-top:10px; font-style:normal; font-size:.86rem; font-weight:650; color:var(--plb-muted); }
.plb-quote__by::before{ content:"— "; }

/* ---------- 20. What to watch next ---------- */
ul.plb-watch{ list-style:none; margin:var(--plb-4) 0 var(--plb-5); padding:0 0 0 22px; border-left:2px dashed var(--plb-border-2); }
ul.plb-watch > li{ position:relative; margin:0 0 var(--plb-4); padding-left:var(--plb-3); color:var(--plb-ink-2); line-height:1.6; }
ul.plb-watch > li:last-child{ margin-bottom:0; }
ul.plb-watch > li::before{
  content:""; position:absolute; left:-30px; top:6px; width:14px; height:14px; border-radius:50%;
  background:var(--plb-surface); border:3px solid var(--plb-accent);
}
ul.plb-watch > li > strong:first-child{ display:block; color:var(--plb-ink); font-size:.98rem; }

/* ---------- 21. Inline citations ---------- */
body.plb-art .entry-content a.plb-cite{
  display:inline-block; padding:0 7px; margin:0 1px; border-radius:999px; font-size:.78em; font-weight:650; line-height:1.7;
  vertical-align:.08em; white-space:nowrap; text-decoration:none; color:var(--plb-brand);
  background:var(--plb-brand-soft); border:1px solid color-mix(in srgb,var(--plb-brand) 25%,transparent);
}
body.plb-art .entry-content a.plb-cite::after{ content:" ↗"; font-size:.85em; }
body.plb-art .entry-content a.plb-cite:hover{ background:var(--plb-brand); color:var(--plb-brand-ink); }

/* ---------- 22. In short ---------- */
.plb-inshort{ margin:var(--plb-5) 0; padding:var(--plb-4) var(--plb-5); border-radius:var(--plb-r); background:var(--plb-sunken); border:1px solid var(--plb-border); }
.plb-inshort::before{ content:"In short"; display:block; margin-bottom:6px; font:700 .7rem/1 var(--plb-mono); letter-spacing:.12em; text-transform:uppercase; color:var(--plb-brand); }
.plb-inshort > :last-child{ margin-bottom:0; }

/* ---------- 23. Sources: notes + freshness ---------- */
.plb-src-main{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.plb-src-note{ font-size:.84rem; color:var(--plb-muted); line-height:1.45; }
body.plb-art .entry-content p.plb-fresh{
  display:flex; align-items:center; gap:8px; margin:var(--plb-3) 0; font-size:.88rem; color:var(--plb-ink-2);
}
body.plb-art .entry-content p.plb-fresh::before{ content:""; width:8px; height:8px; border-radius:50%; flex:none; background:var(--plb-verified); box-shadow:0 0 0 3px color-mix(in srgb,var(--plb-verified) 22%,transparent); }

/* ---------- Prompt block inside articles ---------- */
body.plb-art .plb-prompt{ box-shadow:0 18px 40px -22px color-mix(in srgb,var(--plb-brand) 60%,transparent); }

/* ---------- FAQ on articles ---------- */
body.plb-art .plb-faq details{ border:1px solid var(--plb-border); border-radius:var(--plb-r); padding:var(--plb-3) var(--plb-4); margin-bottom:var(--plb-2); background:var(--plb-surface); }
body.plb-art .plb-faq details:first-child{ border-top:1px solid var(--plb-border); }
body.plb-art .plb-faq details[open]{ border-color:color-mix(in srgb,var(--plb-brand) 40%,var(--plb-border)); background:var(--plb-raised); }

/* ---------- 14. Reading bar ---------- */
.plb-readbar{
  position:fixed; left:0; right:0; top:var(--plb-header-h); z-index:880;
  background:color-mix(in srgb,var(--plb-surface) 97%,transparent); backdrop-filter:saturate(1.4) blur(10px); -webkit-backdrop-filter:saturate(1.4) blur(10px);
  border-bottom:1px solid var(--plb-border); transform:translateY(-110%); opacity:0; transition:transform .2s, opacity .2s; pointer-events:none;
}
.admin-bar .plb-readbar{ top:calc(var(--plb-header-h) + 32px); }
.plb-readbar.is-on{ transform:none; opacity:1; pointer-events:auto; }
.plb-readbar__in{ max-width:var(--plb-measure); margin:0 auto; padding:8px 20px; display:flex; align-items:center; gap:12px; }
.plb-readbar__now{ flex:1; min-width:0; font-size:.88rem; font-weight:650; color:var(--plb-ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.plb-readbar__now span{ font:600 .72rem/1 var(--plb-mono); color:var(--plb-brand); margin-right:8px; }
.plb-readbar__btn{ flex:none; font:inherit; font-size:.82rem; font-weight:700; padding:6px 12px; border-radius:999px; border:1px solid var(--plb-border-2); background:var(--plb-surface); color:var(--plb-ink); cursor:pointer; }
.plb-readbar__btn:hover{ border-color:var(--plb-brand); color:var(--plb-brand); }
.plb-readbar__pct{ flex:none; font:600 .74rem/1 var(--plb-mono); color:var(--plb-muted); min-width:3.2em; text-align:right; }
.plb-readbar__line{ position:absolute; left:0; bottom:-1px; height:3px; width:100%; transform-origin:0 50%; transform:scaleX(0); background:var(--plb-art-grad); }
.plb-readbar__menu{ max-width:var(--plb-measure); margin:0 auto; padding:0 20px 12px; }
.plb-readbar__menu[hidden]{ display:none; }
.plb-readbar__menu ol{ list-style:none; margin:0; padding:8px; max-height:60vh; overflow:auto; border:1px solid var(--plb-border); border-radius:var(--plb-r); background:var(--plb-surface); box-shadow:var(--plb-shadow); }
.plb-readbar__menu a{ display:block; padding:8px 10px; border-radius:8px; font-size:.92rem; text-decoration:none; color:var(--plb-ink-2); }
.plb-readbar__menu a:hover, .plb-readbar__menu a[aria-current]{ background:var(--plb-brand-soft); color:var(--plb-brand); }

@media (prefers-reduced-motion:reduce){
  .plb-readbar, .plb-next__card{ transition:none; }
  .plb-next__card:hover{ transform:none; }
}
@media print{
  body.plb-art .entry-content a.plb-cite{ background:none; border:0; padding:0; }
  .plb-readbar, .plb-next, .plb-closing, .plb-prompt__actions, .plb-openin{ display:none !important; }
  .plb-onething{ background:none; color:#000; border:2px solid #000; }
  .plb-onething p, .plb-onething::before{ color:#000 !important; }
}
