/* Blacklight theme for Ghost
   Built from the Blacklight Design System: tokens, type and bl-* components. */

/* ------------------------------------------------------------------ */
/* Fonts                                                               */
/* ------------------------------------------------------------------ */
@font-face { font-family: "Roboto"; src: url("../fonts/Roboto-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/Roboto-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/Roboto-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/Roboto-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */
:root {
  --soft-black: #1a1a1a;
  --carbon: #262626;
  --hairline: #333333;
  --signal-white: #ffffff;
  --grey: #cccccc;
  --muted: #999999;
  --slate-grey: #808080;
  --periwinkle: #889ce7;
  --periwinkle-light: #a8b6ee;
  --on-periwinkle: #1a1a1a;
  --periwinkle-deep: #4c63d9;
  --logo-ink: #353a50;
  --electric-cyan: #00f0ff;
  --on-cyan: #1a1a1a;
  --ultraviolet: #ce3dff;
  --plasma-blue: #2979ff;
  --magma-orange: #ff6d00;
  --tungsten: #607d8b;

  /* Ghost's brand settings can override these; left unset, the house fonts apply. */
  --font-sans: var(--gh-font-body, Roboto, "Helvetica Neue", Arial, sans-serif);
  --font-display: var(--gh-font-heading, Poppins, "Helvetica Neue", Arial, sans-serif);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;

  --radius-none: 0; --radius-sm: 2px;
  --focus-ring: 0 0 0 2px #1a1a1a, 0 0 0 4px #889ce7;

  --reading-width: 680px;
  --page-width: 1200px;
  --gutter: 16px;

  /* Ghost's own widgets (search, Portal, cards) read this. */
  --ghost-accent-color: #889ce7;
}
@media (min-width: 768px) { :root { --gutter: 48px; } }

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--soft-black); color: var(--grey);
  font-family: var(--font-sans); font-size: 15px; line-height: 22px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--signal-white); text-decoration: none; }
a:hover { color: var(--periwinkle); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: none; box-shadow: var(--focus-ring); }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; }
.bl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bl-skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 8px 12px; background: var(--periwinkle); color: var(--on-periwinkle); }
.bl-skip:focus { left: 8px; }
main { flex-grow: 1; }

.bl-frame { width: 100%; max-width: calc(var(--page-width) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ------------------------------------------------------------------ */
/* Type roles                                                          */
/* ------------------------------------------------------------------ */
.bl-display { font-family: var(--font-display); font-weight: 300; font-size: 38px; line-height: 46px; color: var(--signal-white); text-wrap: balance; }
.bl-title { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 40px; color: var(--signal-white); text-wrap: balance; }
.bl-section-title { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 40px; color: var(--signal-white); text-wrap: balance; }
.bl-heading { font-size: 22px; line-height: 30px; font-weight: 500; color: var(--signal-white); }
.bl-card-title { font-size: 20px; line-height: 28px; font-weight: 500; color: var(--signal-white); text-wrap: balance; }
.bl-subtitle { font-size: 18px; line-height: 28px; color: var(--grey); }
.bl-body { font-size: 18px; line-height: 30px; color: var(--grey); }
.bl-meta { font-size: 13px; line-height: 18px; color: var(--muted); }
.bl-figure { font-size: 28px; line-height: 32px; font-weight: 500; color: var(--signal-white); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  .bl-display { font-size: 60px; line-height: 68px; }
  .bl-title { font-size: 40px; line-height: 50px; }
  .bl-section-title { font-size: 40px; line-height: 52px; }
  .bl-subtitle { font-size: 20px; line-height: 30px; }
}

.bl-label { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--periwinkle); }
.bl-label a { color: inherit; }
.bl-label a:hover { color: var(--periwinkle-light); }
.bl-label-muted { color: var(--muted); }
.bl-label-date { color: var(--muted); }
.bl-label-date::before { content: "·"; padding: 0 var(--space-1); }

.bl-link { color: var(--periwinkle); text-decoration: underline; text-underline-offset: 3px; }
.bl-link:hover { color: var(--periwinkle-light); }

/* ------------------------------------------------------------------ */
/* Buttons, chips, forms                                               */
/* ------------------------------------------------------------------ */
.bl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 500;
  padding: 13px 27px; border: 1px solid var(--slate-grey); border-radius: var(--radius-sm);
  background: transparent; color: var(--signal-white); cursor: pointer; text-decoration: none; white-space: nowrap;
}
.bl-btn:hover { border-color: var(--signal-white); color: var(--signal-white); }
.bl-btn-primary { background: var(--periwinkle); border-color: var(--periwinkle); color: var(--on-periwinkle); }
.bl-btn-primary:hover { background: var(--periwinkle-light); border-color: var(--periwinkle-light); color: var(--on-periwinkle); }
.bl-btn-light { border-color: var(--signal-white); padding: 9px 18px; }
.bl-btn-sm { padding: 7px 14px; font-size: 14px; }
.bl-btn[hidden] { display: none; }

.bl-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.bl-chip { display: inline-block; padding: 6px 12px; border: 1px solid var(--hairline); border-radius: var(--radius-sm); font-size: 14px; line-height: 20px; color: var(--grey); }
.bl-chip:hover { border-color: var(--slate-grey); color: var(--signal-white); }
.bl-chip[aria-current="page"] { border-color: var(--periwinkle); color: var(--periwinkle); }
.bl-chip-sm { padding: 4px 10px; font-size: 13px; line-height: 18px; }

.bl-field { display: flex; flex-direction: column; gap: 6px; }
.bl-field label { font-size: 13px; line-height: 18px; color: var(--grey); }
.bl-input {
  width: 100%; height: 44px; padding: 0 14px; background: var(--soft-black);
  border: 1px solid var(--slate-grey); border-radius: var(--radius-sm);
  color: var(--signal-white); font-family: var(--font-sans); font-size: 15px;
}
.bl-input::placeholder { color: var(--muted); }
.bl-form { max-width: 640px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-3); }
.bl-form .bl-field { flex: 1 1 260px; }
.bl-form .bl-btn { height: 44px; padding-top: 0; padding-bottom: 0; }
.bl-form-note { flex-basis: 100%; font-size: 14px; line-height: 20px; }
.bl-form-note[data-state] { display: none; }
.bl-form.success .bl-form-note[data-state="success"] { display: block; color: var(--grey); }
.bl-form.error .bl-form-note[data-state="error"] { display: block; color: var(--magma-orange); }
.bl-form.loading .bl-btn { opacity: 0.7; pointer-events: none; }

/* ------------------------------------------------------------------ */
/* Public header                                                       */
/* ------------------------------------------------------------------ */
.bl-site-header { position: relative; z-index: 2; }
.bl-site-header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: 24px; padding-bottom: 24px; }
.bl-logo { display: block; flex-shrink: 0; }
.bl-logo img { display: block; height: 20px; width: auto; }
.bl-menu-toggle { display: none; }
.bl-site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 15px; line-height: 22px; }
.bl-site-nav a[aria-current="page"] { color: var(--periwinkle); }
@media (min-width: 768px) {
  .bl-logo img { height: 24px; }
  .bl-site-header-row { padding-top: 30px; padding-bottom: 30px; }
}
@media (max-width: 959px) {
  .js .bl-menu-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: transparent; border: 1px solid var(--hairline); border-radius: var(--radius-sm); color: var(--signal-white); font-size: 14px; cursor: pointer; }
  .js .bl-site-nav { display: none; flex-basis: 100%; }
  .js .bl-site-header.is-open .bl-site-nav { display: block; }
  .bl-site-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; padding: var(--space-2) 0 var(--space-4); }
  .bl-site-nav li { width: 100%; }
  .bl-site-nav li a:not(.bl-btn) { display: block; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
  .bl-site-nav li .bl-btn { margin-top: var(--space-3); }
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.bl-footer { border-top: 1px solid var(--hairline); padding: var(--space-12) 0; }
.bl-footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
.bl-footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 22px; }
.bl-footer-col a { color: var(--grey); }
.bl-footer-col a:hover { color: var(--periwinkle); }
.bl-footer-col .bl-label { color: var(--muted); margin-bottom: 2px; }
.bl-footer-col img { height: 20px; width: auto; align-self: flex-start; }
.bl-footer-address { color: var(--muted); font-style: normal; }
.bl-footer-col a.bl-footer-email { color: var(--periwinkle); }
.bl-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6); margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--hairline); font-size: 13px; line-height: 18px; color: var(--muted); }
@media (min-width: 640px) { .bl-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .bl-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */
.bl-section { padding: var(--space-12) 0; }
.bl-section + .bl-section { border-top: 1px solid var(--hairline); }
.bl-section-raised { background: var(--carbon); border-top: 0 !important; }
.bl-section-raised + .bl-section { border-top: 0; }
.bl-section-head { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-8); }
.bl-section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-4); margin-bottom: var(--space-8); }
.bl-section-head-row .bl-section-head { margin-bottom: 0; }
@media (min-width: 768px) {
  .bl-section { padding: 80px 0; }
  .bl-section-head { margin-bottom: var(--space-12); }
}
.bl-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 640px) { .bl-grid-2, .bl-grid-3, .bl-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .bl-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bl-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Page header, in the deck's order: label, title, subtitle, rule */
.bl-page-head { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-12) 0 var(--space-8); }
.bl-page-head .bl-subtitle { max-width: 720px; }
.bl-page-head-ruled { border-bottom: 1px solid var(--plasma-blue); padding-bottom: var(--space-6); margin-bottom: var(--space-8); }
@media (min-width: 768px) { .bl-page-head { padding-top: 72px; } }

/* ------------------------------------------------------------------ */
/* Home                                                                */
/* ------------------------------------------------------------------ */
.bl-hero { position: relative; overflow: hidden; min-height: 600px; display: flex; flex-direction: column; }
.bl-hero-wave { position: absolute; right: 0; bottom: 0; width: 1280px; max-width: none; height: 720px; pointer-events: none; }
.bl-hero-body { position: relative; z-index: 1; flex-grow: 1; display: flex; align-items: flex-start; padding-top: 56px; padding-bottom: 260px; }
.bl-hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 640px; }
.bl-hero-lede { font-size: 19px; line-height: 30px; color: var(--signal-white); max-width: 640px; }
@media (min-width: 768px) { .bl-hero-lede .bl-line { display: block; } }
.bl-hero-lede em { font-style: italic; color: var(--periwinkle); }
.bl-hero-copy .bl-btn { align-self: flex-start; }
@media (min-width: 768px) {
  .bl-hero { min-height: 720px; }
  .bl-hero-body { padding-top: 88px; padding-bottom: 120px; }
  .bl-hero-lede { font-size: 22px; line-height: 32px; }
}
@media (max-width: 767px) { .bl-hero-wave { right: -420px; } }

.bl-statement { font-family: var(--font-display); font-weight: 300; font-size: 24px; line-height: 36px; color: var(--signal-white); max-width: 1040px; }
@media (min-width: 768px) { .bl-statement { font-size: 34px; line-height: 50px; } }
.bl-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--hairline); margin-top: var(--space-12); }
.bl-stat { display: flex; flex-direction: column; gap: 6px; padding: var(--space-6) var(--space-6) 0 0; }
@media (min-width: 768px) { .bl-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 72px; } }

.bl-pillar { display: flex; flex-direction: column; gap: var(--space-3); padding-top: 20px; border-top: 1px solid var(--plasma-blue); }
.bl-pillar p { font-size: 16px; line-height: 26px; }
.bl-pillars { gap: var(--space-8); }

.bl-product { display: flex; flex-direction: column; gap: 10px; padding: var(--space-6); background: var(--soft-black); }
.bl-product p { font-size: 15px; line-height: 24px; }
a.bl-product:hover .bl-card-title { color: var(--periwinkle); }

.bl-split { display: grid; grid-template-columns: 1fr; gap: var(--space-12); }
@media (min-width: 960px) { .bl-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-16); } }
.bl-rows { display: flex; flex-direction: column; margin-top: 28px; }
.bl-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px var(--space-6); padding: var(--space-4) 0; border-top: 1px solid var(--hairline); }
.bl-row:last-child { border-bottom: 1px solid var(--hairline); }
.bl-row strong { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--signal-white); }
.bl-row span { font-size: 15px; line-height: 24px; color: var(--muted); }
.bl-split-end { display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.bl-split-aligned .bl-rows { margin-top: 0; }
.bl-trusted { padding-top: var(--space-4); }

.bl-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-8) var(--space-12); }
.bl-band-copy { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.bl-band-copy p { font-size: 16px; line-height: 26px; }
.bl-band .bl-form { flex: 1 1 380px; max-width: 480px; }
.bl-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-8) var(--space-12); }
.bl-cta-copy { display: flex; flex-direction: column; gap: 12px; max-width: 700px; }
.bl-cta-copy p { font-size: 16px; line-height: 26px; }
.bl-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bl-leader-name { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 40px; color: var(--signal-white); }
@media (min-width: 768px) { .bl-leader-name { font-size: 36px; line-height: 44px; } }

/* ------------------------------------------------------------------ */
/* What we do                                                          */
/* ------------------------------------------------------------------ */
.bl-quote { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 40px; color: var(--signal-white); max-width: 1060px; text-wrap: balance; }
@media (min-width: 768px) { .bl-quote { font-size: 46px; line-height: 60px; } }
.bl-service { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--soft-black); }
.bl-service p { font-size: 16px; line-height: 26px; }
.bl-service a { color: var(--periwinkle); text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.bl-leader { display: grid; grid-template-columns: 1fr; gap: var(--space-8); align-items: start; }
.bl-leader img { width: 100%; max-width: 400px; aspect-ratio: 1; object-fit: cover; display: block; }
.bl-leader-copy { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 900px) { .bl-leader { grid-template-columns: 400px minmax(0, 1fr); gap: var(--space-16); } }

/* ------------------------------------------------------------------ */
/* Subscribe                                                           */
/* ------------------------------------------------------------------ */
.bl-plan { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8); border: 1px solid var(--hairline); }
.bl-plan-best { border-color: var(--periwinkle); background: var(--carbon); }
.bl-plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bl-plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bl-plan-price strong { font-size: 40px; line-height: 44px; font-weight: 500; color: var(--signal-white); font-variant-numeric: tabular-nums; }
.bl-plan-price span { font-size: 16px; line-height: 24px; color: var(--muted); }
.bl-plan-arr { font-size: 28px; line-height: 44px; font-weight: 500; color: var(--signal-white); }
.bl-plan-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: var(--space-4); }
.bl-plan-actions .bl-btn { width: 100%; }
.bl-plan-actions .bl-alt { text-align: center; font-size: 14px; line-height: 20px; color: var(--periwinkle); }
.bl-plan-actions .bl-alt:hover { color: var(--periwinkle-light); }
.bl-includes { display: grid; grid-template-columns: 1fr; gap: var(--space-4) var(--space-12); margin-top: 20px; font-size: 15px; line-height: 24px; }
.bl-includes strong { font-weight: 500; color: var(--signal-white); }
@media (min-width: 768px) { .bl-includes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bl-includes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bl-fineprint { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6); padding-top: var(--space-6); margin-top: var(--space-12); border-top: 1px solid var(--hairline); font-size: 13px; line-height: 18px; color: var(--muted); }
.bl-fineprint a { color: var(--grey); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ */
/* Cards                                                               */
/* ------------------------------------------------------------------ */
.bl-card { display: flex; flex-direction: column; gap: var(--space-2); min-height: 196px; padding: var(--space-6); border: 1px solid var(--hairline); color: inherit; }
.bl-card:hover { background: var(--carbon); color: inherit; }
.bl-card .bl-card-title { font-size: 18px; line-height: 26px; }
.bl-card-meta { margin-top: auto; padding-top: var(--space-2); font-size: 13px; line-height: 18px; color: var(--muted); }
.bl-card-lead { display: flex; flex-direction: column; gap: 10px; min-height: 260px; padding: 28px; background: var(--carbon); color: inherit; }
.bl-card-lead:hover { background: #2e2e2e; color: inherit; }
.bl-card-lead .bl-card-headline { font-family: var(--font-display); font-weight: 300; font-size: 24px; line-height: 32px; color: var(--signal-white); text-wrap: balance; }
.bl-card-lead p { font-size: 15px; line-height: 24px; color: var(--grey); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
@media (min-width: 768px) { .bl-card-lead .bl-card-headline { font-size: 26px; line-height: 34px; } }
.bl-card-snippet { font-size: 15px; line-height: 24px; color: var(--grey); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.bl-card-snippet p { display: inline; margin: 0; }
.bl-card-snippet p + p::before { content: " "; }
.bl-card-snippet figure, .bl-card-snippet img, .bl-card-snippet .kg-card, .bl-card-snippet h2, .bl-card-snippet h3, .bl-card-snippet h4, .bl-card-snippet table, .bl-card-snippet ul, .bl-card-snippet ol, .bl-card-snippet blockquote { display: none; }
.bl-card-public { min-height: 200px; }
.bl-card-public .bl-card-title { font-size: 20px; line-height: 28px; }

.bl-group { display: flex; flex-direction: column; gap: 14px; }
.bl-group + .bl-group { margin-top: var(--space-8); }
.bl-empty { padding: var(--space-8); border: 1px dashed var(--hairline); color: var(--muted); }

.bl-pagination { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--hairline); font-size: 14px; color: var(--muted); }
.bl-pagination a { color: var(--periwinkle); }
.bl-pagination a:hover { color: var(--periwinkle-light); }

/* ------------------------------------------------------------------ */
/* Clarity                                                             */
/* ------------------------------------------------------------------ */
.bl-clarity-bar { border-bottom: 1px solid var(--hairline); }
.bl-clarity-bar-row { min-height: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3) var(--space-4); padding-top: 12px; padding-bottom: 12px; }
.bl-clarity-brand { display: flex; align-items: center; gap: var(--space-4); }
.bl-clarity-brand img { display: block; height: 18px; width: auto; }
.bl-clarity-divider { width: 1px; height: 20px; background: var(--hairline); }
.bl-clarity-word { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bl-clarity-tools { display: flex; align-items: center; gap: var(--space-4); }
.bl-search { display: inline-flex; align-items: center; gap: 8px; height: 36px; width: 36px; justify-content: center; padding: 0; background: transparent; border: 1px solid var(--hairline); border-radius: var(--radius-sm); color: var(--muted); font-size: 14px; cursor: pointer; text-align: left; }
.bl-search:hover { border-color: var(--slate-grey); color: var(--grey); }
.bl-search span { display: none; }
.bl-clarity-tools > a { font-size: 14px; line-height: 20px; color: var(--grey); }
.bl-clarity-tools > a:hover { color: var(--periwinkle); }
@media (min-width: 768px) {
  .bl-clarity-brand img { height: 20px; }
  .bl-search { width: 320px; justify-content: flex-start; padding: 0 12px; }
  .bl-search span { display: inline; }
}
.bl-clarity-nav { border-bottom: 1px solid var(--hairline); }
.bl-clarity-nav ul { list-style: none; margin: 0; padding: 0; height: 52px; display: flex; align-items: stretch; gap: 26px; overflow-x: auto; scrollbar-width: none; font-size: 15px; line-height: 22px; }
.bl-clarity-nav ul::-webkit-scrollbar { display: none; }
.bl-clarity-nav li { display: flex; flex-shrink: 0; }
.bl-clarity-nav a { display: flex; align-items: center; color: var(--grey); border-bottom: 2px solid transparent; white-space: nowrap; }
.bl-clarity-nav a:hover { color: var(--signal-white); }
.bl-clarity-nav a[aria-current="page"] { color: var(--signal-white); font-weight: 500; border-bottom-color: var(--periwinkle); }

.bl-clarity-main { padding-top: var(--space-8); padding-bottom: var(--space-16); }
@media (min-width: 768px) { .bl-clarity-main { padding-top: 40px; } }
.bl-clarity-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-4) var(--space-8); margin-bottom: var(--space-8); }
.bl-clarity-head-copy { display: flex; flex-direction: column; gap: 6px; max-width: 720px; }
.bl-clarity-head .bl-chips { max-width: 940px; }
@media (min-width: 1100px) { .bl-clarity-head .bl-chips { justify-content: flex-end; } }
.bl-clarity-title { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 40px; color: var(--signal-white); }
@media (min-width: 768px) { .bl-clarity-title { font-size: 34px; line-height: 44px; } }

.bl-gate { --ghost-accent-color: var(--periwinkle); max-width: 720px; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8); background: var(--carbon); }
.bl-gate-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-2); }
.bl-gate p { font-size: 16px; line-height: 26px; }
.bl-gate p a:not(.bl-btn) { color: var(--periwinkle); text-decoration: underline; text-underline-offset: 3px; }
.bl-gate-wrap { padding: var(--space-12) 0 var(--space-16); }

.bl-clarity-footer { border-top: 1px solid var(--hairline); padding: var(--space-6) 0; font-size: 13px; line-height: 18px; color: var(--muted); }
.bl-clarity-footer .bl-frame { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6); }
.bl-clarity-footer a { color: var(--grey); }

.bl-disclaimer { margin-top: var(--space-8); padding-top: var(--space-4); border-top: 1px solid var(--hairline); font-size: 13px; line-height: 20px; color: var(--muted); max-width: 900px; }

.bl-editions { display: flex; flex-direction: column; }
.bl-edition { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px var(--space-6); padding: var(--space-4) 0; border-top: 1px solid var(--hairline); }
.bl-edition:last-child { border-bottom: 1px solid var(--hairline); }
.bl-edition-title { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--signal-white); }
.bl-edition:hover .bl-edition-title { color: var(--periwinkle); }

/* ------------------------------------------------------------------ */
/* Notes                                                               */
/* ------------------------------------------------------------------ */
.bl-note-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-12); padding-top: var(--space-8); padding-bottom: var(--space-16); }
@media (min-width: 1100px) { .bl-note-layout { grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: 72px; padding-top: var(--space-12); } }
.bl-note-layout-single { grid-template-columns: minmax(0, 720px) !important; }
.bl-note { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.bl-note-header { display: flex; flex-direction: column; gap: 14px; padding-bottom: var(--space-6); border-bottom: 1px solid var(--plasma-blue); }
.bl-note-metarow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3) var(--space-4); }
.bl-note-meta { font-size: 14px; line-height: 20px; color: var(--muted); }
.bl-note-figure { margin: 0; }
.bl-note-figure img { display: block; width: 100%; height: auto; }
.bl-note-figure figcaption { margin-top: var(--space-2); font-size: 13px; line-height: 18px; color: var(--muted); }
.bl-note-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); padding-top: 20px; border-top: 1px solid var(--hairline); }
.bl-note-tags:not(:has(a)) { display: none; }

/* The standard disclaimer at the foot of every note (the Ghost page at /disclosures/) */
.bl-disclosures { display: flex; flex-direction: column; gap: var(--space-3); padding-top: 20px; border-top: 1px solid var(--hairline); }
.bl-disclosures-text { font-size: 13px; line-height: 20px; color: var(--muted); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.bl-disclosures-text > * + * { margin-top: 10px; }
.bl-disclosures-text h2, .bl-disclosures-text h3, .bl-disclosures-text h4 { margin-top: 18px; font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--grey); }
.bl-disclosures-text strong { font-weight: 500; color: var(--grey); }
.bl-disclosures-text a { color: var(--grey); text-decoration: underline; text-underline-offset: 3px; }
.bl-disclosures-text a:hover { color: var(--periwinkle); }
.bl-disclosures-text ul, .bl-disclosures-text ol { padding-left: 1.3em; }
.bl-disclosures-text li + li { margin-top: 4px; }

.bl-aside { display: flex; flex-direction: column; gap: var(--space-8); }
@media (min-width: 1100px) { .bl-aside { padding-top: var(--space-2); } }
.bl-related { display: flex; flex-direction: column; }
.bl-related .bl-label { padding-bottom: 10px; }
.bl-related a { display: flex; flex-direction: column; gap: 6px; padding: var(--space-4) 0; border-top: 1px solid var(--hairline); }
.bl-related a:last-child { border-bottom: 1px solid var(--hairline); }
.bl-related-title { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--signal-white); }
.bl-related a:hover .bl-related-title { color: var(--periwinkle); }
.bl-aside-box { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); background: var(--carbon); }
.bl-aside-box p { font-size: 15px; line-height: 24px; }

/* Note text: Ghost editor content */
.bl-prose { font-size: 18px; line-height: 30px; color: var(--grey); min-width: 0; }
.bl-prose { --ghost-accent-color: var(--periwinkle); }
.bl-prose > * + * { margin-top: 22px; }
.bl-prose > :first-child { margin-top: 0; }
.bl-prose h2 { margin-top: var(--space-12); font-size: 22px; line-height: 30px; font-weight: 500; color: var(--signal-white); }
.bl-prose h3 { margin-top: var(--space-8); font-size: 20px; line-height: 28px; font-weight: 500; color: var(--signal-white); }
.bl-prose h4 { margin-top: var(--space-8); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--periwinkle); }
.bl-prose h2 + *, .bl-prose h3 + *, .bl-prose h4 + * { margin-top: 12px; }
/* Plain links in note text; editor cards and buttons keep their own styling */
.bl-prose a:not([class]) { color: var(--periwinkle); text-decoration: underline; text-underline-offset: 3px; }
.bl-prose a:not([class]):hover { color: var(--periwinkle-light); }
.bl-prose strong { font-weight: 500; color: var(--signal-white); }
.bl-prose em { font-style: italic; }
.bl-prose ul, .bl-prose ol { padding-left: 1.3em; }
.bl-prose li + li { margin-top: 8px; }
.bl-prose li::marker { color: var(--muted); }
.bl-prose blockquote { margin-left: 0; margin-right: 0; padding-left: var(--space-6); border-left: 2px solid var(--periwinkle); color: var(--signal-white); }
.bl-prose blockquote.kg-blockquote-alt { border-left: 0; padding: 0; font-family: var(--font-display); font-weight: 300; font-size: 26px; line-height: 38px; text-align: left; }
.bl-prose hr { border: 0; border-top: 1px solid var(--hairline); margin: var(--space-12) 0; }
.bl-prose figure { margin-left: 0; margin-right: 0; }
.bl-prose figcaption { margin-top: var(--space-2); font-size: 13px; line-height: 18px; color: var(--muted); text-align: left; }
.bl-prose img { display: block; }
.bl-prose code { font-size: 0.88em; background: var(--carbon); padding: 2px 5px; }
.bl-prose pre { overflow-x: auto; background: var(--carbon); padding: var(--space-4); font-size: 14px; line-height: 22px; }
.bl-prose pre code { background: none; padding: 0; }
.bl-prose sup, .bl-prose sub { line-height: 0; }

/* Tables pasted into notes follow the data-table style */
.bl-table-scroll { overflow-x: auto; }
.bl-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.bl-prose th { background: var(--carbon); color: var(--signal-white); font-weight: 700; font-size: 14px; line-height: 20px; text-align: left; padding: var(--space-3) var(--space-4); white-space: nowrap; }
.bl-prose td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--hairline); color: var(--grey); }
.bl-prose td.num, .bl-prose th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bl-prose td.num { font-weight: 500; font-size: 14px; color: var(--signal-white); }

/* Ghost editor cards */
.kg-width-wide, .kg-width-full { position: relative; }
@media (min-width: 1100px) {
  .bl-note-layout-single .kg-width-wide { width: calc(100% + 240px); max-width: none; }
}
.kg-width-full img, .kg-width-wide img { width: 100%; }
.bl-prose .kg-card { margin-top: 28px; }
.bl-prose .kg-card + * { margin-top: 28px; }
.bl-prose .kg-callout-card { background: var(--carbon) !important; color: var(--grey); border-radius: 0; }
.bl-prose .kg-callout-text { font-size: 16px; line-height: 26px; }
.bl-prose .kg-bookmark-card a.kg-bookmark-container { background: var(--soft-black); border: 1px solid var(--hairline); border-radius: 0; color: var(--grey); text-decoration: none; box-shadow: none; }
.bl-prose .kg-bookmark-title { color: var(--signal-white); }
.bl-prose .kg-bookmark-description, .bl-prose .kg-bookmark-metadata { color: var(--muted); }
.bl-prose .kg-file-card-container { background: var(--carbon) !important; border-radius: 0; color: var(--grey); text-decoration: none; }
.bl-prose .kg-file-card-title { color: var(--signal-white); }
.bl-prose .kg-file-card-caption, .bl-prose .kg-file-card-metadata { color: var(--muted); }
.bl-prose .kg-toggle-card { background: var(--carbon); border-radius: 0; box-shadow: none; }
.bl-prose .kg-toggle-heading-text { color: var(--signal-white); }
.bl-prose .kg-button-card a.kg-btn { border-radius: var(--radius-sm); font-weight: 500; text-decoration: none; }
.bl-prose .kg-product-card-container, .bl-prose .kg-header-card { border-radius: 0; }
.bl-prose .kg-image-card img, .bl-prose .kg-gallery-image img { border-radius: 0; }
.bl-prose .kg-embed-card { display: block; }
.bl-prose .kg-embed-card iframe { max-width: 100%; }
/* Saturns: the Vimeo player fills the note's width at 16:9 */
.bl-prose .kg-embed-card iframe[src*="player.vimeo.com"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.bl-prose .kg-signup-card, .bl-prose .kg-cta-card { border-radius: 0; }

/* Members-only call to action, below a note's public preview */
.bl-paywall { margin-top: var(--space-8) !important; }
.bl-paywall h2 { margin-top: 0 !important; }
.bl-paywall .bl-gate-actions { margin-top: var(--space-2); }
@media (max-width: 767px) {
  .bl-clarity-head .bl-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .bl-clarity-head .bl-chips::-webkit-scrollbar { display: none; }
  .bl-clarity-head .bl-chip { flex-shrink: 0; }
}

/* ------------------------------------------------------------------ */
/* Reference baskets (the page's content is written by the publishing helper) */
/* ------------------------------------------------------------------ */
.bl-bk-hedge { font-size: 16px; line-height: 26px; max-width: 760px; }
.bl-baskets { font-size: 15px; line-height: 22px; }
.bl-baskets h2 { margin: 0; }
.bl-bk-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-2) var(--space-6); margin-bottom: var(--space-4); }
.bl-bk-head h2 { font-size: 22px; line-height: 30px; font-weight: 500; color: var(--signal-white); }
.bl-bk-asof { font-size: 13px; line-height: 18px; color: var(--muted); }
.bl-prose .bl-bk-table { font-size: 14px; line-height: 20px; }
.bl-prose .bl-bk-table th { font-weight: 500; font-size: 13px; line-height: 18px; padding: 10px 14px; vertical-align: bottom; }
.bl-prose .bl-bk-table td { padding: 10px 14px; }
.bl-prose .bl-bk-table td.num { font-size: 14px; }
.bl-bk-sub { display: block; font-size: 11px; line-height: 14px; font-weight: 400; color: var(--muted); }
.bl-prose .bl-bk-name-cell a { color: var(--signal-white); text-decoration: none; font-weight: 500; }
.bl-prose .bl-bk-name-cell a:hover { color: var(--periwinkle); }
.bl-bk-code { margin-left: 6px; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.bl-prose .bl-bk-group td { padding-top: 20px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bl-bk-note { margin-top: var(--space-3) !important; font-size: 13px; line-height: 20px; color: var(--muted); }
.bl-bk-basket { margin-top: var(--space-12); padding: var(--space-8); border: 1px solid var(--hairline); }
.bl-bk-basket-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-6); }
.bl-bk-label { display: block; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--periwinkle); }
.bl-baskets .bl-bk-title { margin: 8px 0 4px; font-family: var(--font-display); font-weight: 300; font-size: 32px; line-height: 40px; color: var(--signal-white); }
.bl-bk-meta { font-size: 14px; line-height: 20px; color: var(--muted); }
.bl-prose .bl-bk-basket-head .bl-btn { flex-shrink: 0; }
.bl-bk-ticker { color: var(--muted); white-space: nowrap; }
.bl-prose .bl-bk-summary td:nth-child(2), .bl-prose .bl-bk-members td:nth-child(3), .bl-prose .bl-bk-members td:nth-child(4),
.bl-prose .bl-bk-members td:nth-child(5) { white-space: nowrap; }
.bl-prose .bl-bk-members td:first-child { min-width: 180px; }
.bl-prose .bl-bk-members tfoot td { border-top: 1px solid var(--plasma-blue); border-bottom: 0; color: var(--signal-white); font-weight: 500; }
.bl-bk-source { margin-top: var(--space-4) !important; font-size: 12px; line-height: 18px; color: var(--muted); }
@media (max-width: 767px) {
  .bl-bk-basket { padding: var(--space-4); margin-left: calc(-1 * var(--space-2)); margin-right: calc(-1 * var(--space-2)); }
  .bl-baskets .bl-bk-title { font-size: 26px; line-height: 34px; }
}

/* ------------------------------------------------------------------ */
/* The Blackbook: an edition shown page by page                        */
/* ------------------------------------------------------------------ */
.bl-bb-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-4) var(--space-8); padding-bottom: var(--space-6); border-bottom: 1px solid var(--plasma-blue); }
.bl-bb-headline { display: flex; flex-direction: column; gap: 12px; }
.bl-bb-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bl-bb-viewer { margin-top: var(--space-6); }
.bl-bb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--hairline); scroll-margin-top: 8px; }
.bl-bb-bar[hidden] { display: none; }
.bl-bb-step { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: transparent; border: 1px solid var(--slate-grey); border-radius: var(--radius-sm); color: var(--signal-white); font-family: var(--font-sans); font-size: 14px; font-weight: 500; cursor: pointer; }
.bl-bb-step span { font-size: 18px; line-height: 1; }
.bl-bb-step:hover:not(:disabled) { border-color: var(--signal-white); }
.bl-bb-step:disabled { border-color: var(--hairline); color: var(--slate-grey); cursor: default; }
.bl-bb-jump { display: inline-flex; min-width: 0; }
.bl-bb-jump select { height: 38px; max-width: 460px; padding: 0 10px; background: var(--carbon); color: var(--signal-white); border: 1px solid var(--hairline); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 14px; cursor: pointer; }
.bl-bb-jump select:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.bl-bb-count { margin-left: auto; font-size: 14px; line-height: 20px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bl-bb-pages { max-width: none; padding-top: var(--space-6); }
.bl-bb-pages .bl-bb-contents { display: none; }
.bl-prose.bl-bb-pages > * + * { margin-top: var(--space-6); }
.bl-bb-pages .kg-image-card { margin: 0; scroll-margin-top: 72px; }
.bl-bb-pages .kg-image-card img { width: 100%; max-width: 1200px; margin: 0 auto; border: 1px solid var(--hairline); }
/* One page at a time, sized to fit the window */
.is-paged .bl-bb-pages { padding-top: var(--space-4); }
.is-paged .bl-bb-pages > .kg-image-card { display: none; margin-top: 0; }
.is-paged .bl-bb-pages > .kg-image-card.is-current { display: block; }
.is-paged .bl-bb-pages > .kg-file-card { display: none; }
.is-paged .bl-bb-pages .kg-image-card img { width: auto; max-width: 100%; max-height: calc(100vh - 96px); cursor: pointer; user-select: none; }
.bl-bb-hint { margin-top: var(--space-3); font-size: 13px; line-height: 18px; color: var(--muted); text-align: center; }
.bl-bb-hint[hidden] { display: none; }
.bl-bb-past { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--hairline); }
.bl-bb-past-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Price Risk Assessments: one market at a time, as a fan chart and its table */
.bl-pr { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-12); padding: var(--space-8); border: 1px solid var(--hairline); }
.bl-pr[hidden] { display: none; }
.bl-pr-headline { display: flex; flex-direction: column; gap: 8px; }
.bl-pr-title { font-size: 22px; line-height: 30px; font-weight: 500; color: var(--signal-white); }
.bl-pr-summary { max-width: 860px; font-size: 16px; line-height: 24px; color: var(--grey); }
.bl-pr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.bl-pr-bar .bl-bb-step { width: 38px; justify-content: center; padding: 0; }
.bl-pr-bar .bl-bb-count { margin-left: 0; }
.bl-pr-actions { display: flex; gap: var(--space-2); margin-left: auto; }
.bl-pr-keys { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; line-height: 18px; color: var(--grey); }
.bl-pr-keys > span { display: inline-flex; align-items: center; gap: 8px; }
.bl-pr-key-line { display: inline-block; flex-shrink: 0; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; }
.bl-pr-key-dash { display: inline-block; flex-shrink: 0; width: 18px; height: 0; border-top: 2px dashed var(--signal-white); }
.bl-pr-key-band { display: inline-block; flex-shrink: 0; width: 18px; height: 10px; }
.bl-pr-readout { min-height: 20px; font-size: 13px; line-height: 20px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bl-pr-chart { width: 100%; min-height: 270px; }
.bl-pr-chart svg { display: block; width: 100%; height: auto; }
.bl-pr-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.bl-pr-table th { padding: 10px 12px; background: var(--carbon); color: var(--signal-white); font-size: 13px; line-height: 18px; font-weight: 700; text-align: left; vertical-align: bottom; white-space: nowrap; }
.bl-pr-table th .bl-pr-key-line { margin-right: 8px; }
.bl-pr-table td { padding: 9px 12px; border-bottom: 1px solid var(--hairline); color: var(--signal-white); font-weight: 500; white-space: nowrap; }
.bl-pr-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.bl-pr-table td.bl-pr-date { color: var(--grey); font-weight: 400; }
.bl-pr-table tr.is-hover td { background: var(--carbon); }
.bl-pr-notes { display: flex; flex-direction: column; gap: 6px; max-width: 980px; font-size: 13px; line-height: 19px; color: var(--muted); }
.bl-pr-pagelink { padding: 0; background: none; border: 0; color: var(--periwinkle); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bl-pr-pagelink:hover { color: var(--periwinkle-light); }
.bl-pr-pagelink[hidden] { display: none; }
@media (max-width: 767px) {
  .bl-bb-jump { flex: 1 1 100%; order: -1; }
  .bl-bb-jump select { width: 100%; max-width: none; }
  .bl-bb-bar .bl-bb-step { flex: 1 1 0; justify-content: center; }
  .bl-bb-count { margin-left: 0; }
  .is-paged .bl-bb-pages .kg-image-card img { max-height: none; }
  .bl-pr { padding: var(--space-4); margin-left: calc(-1 * var(--space-2)); margin-right: calc(-1 * var(--space-2)); }
  .bl-pr-actions { margin-left: auto; }
}

/* ------------------------------------------------------------------ */
/* Spectra: charting for members                                       */
/* ------------------------------------------------------------------ */
.bl-sp { display: flex; flex-direction: column; gap: var(--space-4); }
/* Two lines: finding a series (search, frequency, source), then charting it (period, units, view) */
.bl-sp-controls { display: flex; flex-direction: column; gap: var(--space-3); }
.bl-sp-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.bl-sp-search { position: relative; flex: 1 1 340px; min-width: 0; }
.bl-sp-search input { width: 100%; height: 40px; padding: 0 14px; background: var(--soft-black); border: 1px solid var(--slate-grey); border-radius: var(--radius-sm); color: var(--signal-white); font-family: var(--font-sans); font-size: 15px; }
.bl-sp-search input::placeholder { color: var(--muted); }
.bl-sp-search input:focus-visible { outline: none; border-color: var(--periwinkle); }
.bl-sp-results { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0; max-height: 360px; overflow-y: auto; margin: 0; padding: 4px 0; list-style: none; background: var(--carbon); border: 1px solid var(--hairline); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55); }
.bl-sp-results[hidden] { display: none; }
.bl-sp-results li { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; cursor: pointer; }
.bl-sp-results li:hover, .bl-sp-results li[aria-selected="true"] { background: var(--hairline); }
.bl-sp-result-name { font-size: 14px; line-height: 20px; color: var(--signal-white); }
.bl-sp-result-meta { font-size: 12px; line-height: 16px; color: var(--muted); }
.bl-sp-results li.bl-sp-result-none { cursor: default; font-size: 14px; line-height: 20px; color: var(--muted); }
.bl-sp-results li.bl-sp-result-none:hover { background: none; }
.bl-sp-group { display: inline-flex; border: 1px solid var(--hairline); border-radius: var(--radius-sm); }
.bl-sp-group button { height: 38px; padding: 0 12px; background: transparent; border: 0; border-left: 1px solid var(--hairline); color: var(--grey); font-size: 14px; line-height: 20px; cursor: pointer; white-space: nowrap; }
.bl-sp-group button:first-child { border-left: 0; }
.bl-sp-group button:hover:not(:disabled) { color: var(--signal-white); background: var(--carbon); }
.bl-sp-group button[aria-pressed="true"] { background: var(--periwinkle); color: var(--on-periwinkle); font-weight: 500; }
.bl-sp-group button:disabled { color: var(--slate-grey); cursor: not-allowed; }
.bl-sp-group button[aria-pressed="true"]:disabled { background: var(--carbon); color: var(--muted); }
.bl-sp-select[hidden] { display: none; }
.bl-sp-select select { height: 40px; padding: 0 10px; background: var(--soft-black); border: 1px solid var(--hairline); border-radius: var(--radius-sm); color: var(--signal-white); font-family: var(--font-sans); font-size: 14px; cursor: pointer; }
.bl-sp-select select:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.bl-sp-legend { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.bl-sp-legend li { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 4px 4px 4px 12px; border: 1px solid var(--hairline); border-radius: var(--radius-sm); font-size: 14px; line-height: 20px; }
.bl-sp-key-line { display: inline-block; flex-shrink: 0; width: 18px; height: 3px; border-radius: 2px; }
.bl-sp-key-band { display: inline-block; flex-shrink: 0; width: 18px; height: 10px; }
.bl-sp-value { flex-shrink: 0; min-width: 5ch; font-weight: 500; color: var(--signal-white); font-variant-numeric: tabular-nums; }
.bl-sp-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--grey); }
.bl-sp-remove { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; padding: 0; background: transparent; border: 0; border-radius: var(--radius-sm); color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.bl-sp-remove:hover { background: var(--hairline); color: var(--signal-white); }
.bl-sp-readout { min-height: 20px; font-size: 13px; line-height: 20px; color: var(--muted); font-variant-numeric: tabular-nums; }

.bl-sp-charts { display: flex; flex-direction: column; gap: var(--space-8); transition: opacity 0.15s; }
.bl-sp.is-loading .bl-sp-charts, .bl-sp.is-loading .bl-sp-legend { opacity: 0.45; }
.bl-sp-panel { margin: 0; }
.bl-sp-panel figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px var(--space-4); margin-bottom: var(--space-2); font-size: 13px; line-height: 18px; color: var(--muted); }
.bl-sp-panel-title { font-weight: 500; color: var(--grey); }
.bl-sp-keys { display: flex; flex-wrap: wrap; gap: 4px var(--space-4); }
.bl-sp-keys > span { display: inline-flex; align-items: center; gap: 6px; }
.bl-sp-plot { width: 100%; min-height: 1px; }
.bl-sp .uplot { font-family: var(--font-sans); }
.bl-sp .u-over { cursor: crosshair; }
.bl-sp .u-cursor-x { border-right: 1px dashed var(--slate-grey); }
.bl-sp .u-cursor-pt { border-style: solid; border-radius: 50%; }
.bl-sp-message { padding: var(--space-6); border: 1px dashed var(--hairline); font-size: 15px; line-height: 24px; color: var(--grey); }
.bl-sp-message[hidden] { display: none; }

.bl-sp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--space-4) var(--space-8); padding-top: var(--space-4); border-top: 1px solid var(--hairline); }
.bl-sp-sources { max-width: 640px; font-size: 12px; line-height: 18px; color: var(--muted); }
.bl-sp-sources p + p { margin-top: 2px; }
.bl-sp-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.bl-sp-tablewrap[hidden] { display: none; }
.bl-sp-tablewrap .bl-table-scroll { max-height: 560px; overflow: auto; border: 1px solid var(--hairline); }
.bl-sp-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.bl-sp-table th { position: sticky; top: 0; z-index: 1; min-width: 120px; padding: 10px 14px; background: var(--carbon); color: var(--signal-white); font-size: 13px; line-height: 18px; font-weight: 500; text-align: left; vertical-align: bottom; }
.bl-sp-table th:first-child { min-width: 110px; }
.bl-sp-table td { padding: 8px 14px; border-bottom: 1px solid var(--hairline); color: var(--grey); white-space: nowrap; }
.bl-sp-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.bl-sp-table td.num { color: var(--signal-white); }
.bl-sp-note { margin-top: var(--space-2); font-size: 12px; line-height: 18px; color: var(--muted); }
@media (max-width: 767px) {
  .bl-sp-search { flex-basis: 100%; }
  .bl-sp-group button { padding: 0 10px; }
  .bl-sp-select { flex: 1 1 140px; }
  .bl-sp-select select { width: 100%; }
  .bl-sp-legend li { width: 100%; }
  .bl-sp-name { flex: 1 1 auto; }
}

/* ------------------------------------------------------------------ */
/* Print, and Save as PDF from the browser                             */
/* ------------------------------------------------------------------ */
@media print {
  :root {
    --soft-black: #ffffff; --carbon: #f0f0f0; --hairline: #cccccc;
    --signal-white: #1a1a1a; --grey: #262626; --muted: #595959;
    --periwinkle: #4c63d9; --plasma-blue: #4c63d9;
  }
  @page { margin: 16mm 18mm; }
  html { color-scheme: light; }
  body { display: block; min-height: 0; background: #ffffff; }
  .bl-site-header, .bl-clarity-bar, .bl-clarity-nav, .bl-footer, .bl-clarity-footer, .bl-aside, .bl-skip, .bl-note-tags,
  .bl-paywall, .bl-section-raised, [data-pdf-link], .bl-prose .kg-file-card, .bl-bb-bar, .bl-bb-hint, .bl-bb-actions, .bl-bb-past, .bl-pr-bar, .bl-pr-readout, .bl-pr-pagelink,
  .bl-sp-controls, .bl-sp-actions, .bl-sp-remove, #ghost-portal-root, #sodo-search-root { display: none !important; }
  .bl-frame { max-width: none; padding: 0; }
  .bl-note-layout { display: block; padding: 0; }
  .bl-note { display: block; }
  .bl-note > * + * { margin-top: 18pt; }
  .bl-note-header { gap: 8pt; padding-bottom: 12pt; }
  .bl-title { font-size: 22pt; line-height: 1.25; }
  .bl-subtitle { font-size: 12pt; line-height: 1.45; }
  .bl-prose { font-size: 10.5pt; line-height: 1.55; }
  .bl-prose > * + * { margin-top: 9pt; }
  .bl-prose h2 { margin-top: 18pt; font-size: 13pt; line-height: 1.35; }
  .bl-prose h3 { margin-top: 14pt; font-size: 11.5pt; line-height: 1.35; }
  .bl-prose a:not([class]) { color: inherit; }
  .bl-prose table, .bl-prose th, .bl-prose td.num { font-size: 9pt; line-height: 1.4; }
  .bl-prose th, .bl-prose td { padding: 4pt 8pt; }
  .bl-table-scroll { overflow: visible; }
  .bl-prose figure, .bl-prose img, .bl-prose table, .bl-prose blockquote, .bl-prose .kg-card, .bl-note-figure { break-inside: avoid; }
  .bl-prose h2, .bl-prose h3, .bl-prose h4 { break-after: avoid; }
  .bl-disclosures { display: block; padding-top: 10pt; break-inside: avoid; }
  .bl-disclosures .bl-label { display: block; margin-bottom: 6pt; break-after: avoid; }
  .bl-disclosures-text { font-size: 8pt; line-height: 1.45; }
  .bl-disclosures-text > * + * { margin-top: 5pt; }
  .bl-disclosures-text h2, .bl-disclosures-text h3, .bl-disclosures-text h4 { margin-top: 8pt; font-size: 8pt; line-height: 1.45; }
  .is-paged .bl-bb-pages > .kg-image-card { display: block !important; margin-top: 12pt; break-inside: avoid; }
  .is-paged .bl-bb-pages .kg-image-card img { max-height: none; width: 100%; }
  .bl-pr { break-before: page; border: 0; padding: 0; }
  .bl-pr-fwd, .bl-pr-key-dash { stroke: #1a1a1a !important; border-color: #1a1a1a !important; }
  .bl-pr-base { stroke: #0b7d86 !important; }
  .bl-pr-dot { fill: #0b7d86 !important; stroke: #ffffff !important; }
  .bl-pr-grid { stroke: #dddddd !important; }
  .bl-pr-axis, .bl-pr-endlabel { fill: #595959 !important; }
}
