/* ==========================================================================
   MACROSPHERE — design layer on top of Tailwind
   Palette: deep ink + apricot gold, coral/rose gradient accents
   ========================================================================== */

:root {
  --ink-950: #04060b;
  --ink-900: #080b14;
  --ink-800: #111829;
  --brand: #3ccf98;
  --brand-soft: #8ff0c9;
  --brand-2: #2dd4bf;
  --apricot: #ffa03a;
  --coral: #ff6f61;
  --mint: #3ee6b0;
  --rose: #ff4f7b;
  --line: rgba(255, 255, 255, .07);
  --glass: rgba(17, 24, 41, .55);
  --glass-strong: rgba(12, 17, 32, .78);
  color-scheme: dark;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink-950);
  color: #e6e9f1;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(60,207,152, .35); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-950); }
::-webkit-scrollbar-thumb { background: #e6e9f1; border-radius: 10px; border: 3px solid var(--ink-950); }
::-webkit-scrollbar-thumb:hover { background: #ffffff; }
/* Firefox has no ::-webkit-scrollbar; scrollbar-color would disable the rules above in Chromium, so it is gated */
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: #e6e9f1 transparent; } }

/* --------------------------------------------------------------------------
   Ambient background: aurora blobs + fine grid + grain
   -------------------------------------------------------------------------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  opacity: .45;
}
.ambient::after {
  content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .035; mix-blend-mode: overlay;
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.blob-a { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(31,181,127,.42), transparent 65%); animation: drift 22s ease-in-out infinite; }
.blob-b { width: 40vw; height: 40vw; right: -10vw; top: 20vh; background: radial-gradient(circle, rgba(45,212,191,.22), transparent 65%); animation: drift 28s ease-in-out infinite reverse; }
.blob-c { width: 36vw; height: 36vw; left: 30vw; bottom: -18vw; background: radial-gradient(circle, rgba(99,102,241,.16), transparent 65%); animation: drift 34s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(6vw, 4vh) scale(1.08); }
  66% { transform: translate(-4vw, 6vh) scale(.95); }
}

/* --------------------------------------------------------------------------
   Glass
   -------------------------------------------------------------------------- */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)) , var(--glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
}
.glass-strong { background: var(--glass-strong); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); border: 1px solid rgba(255,255,255,.08); }

/* Card with cursor-follow spotlight (--mx/--my set from JS) */
.spot { position: relative; isolation: isolate; overflow: hidden; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(60,207,152,.14), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(111,227,182,.55), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s;
}
.spot:hover::after { opacity: 1; }

/* Gradient border ring */
.ring-grad { position: relative; }
.ring-grad::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(111,227,182,.7), rgba(45,212,191,.2) 40%, rgba(255,255,255,.04) 70%, rgba(60,207,152,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.text-grad {
  background: linear-gradient(100deg, #e9fff5 0%, #8ff0c9 32%, #3ccf98 62%, #2dd4bf 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.text-outline { -webkit-text-stroke: 1px rgba(111,227,182,.35); color: transparent; }
.eyebrow { font-family: Inter, system-ui, sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-soft); }
.num { font-family: Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* --------------------------------------------------------------------------
   Buttons, chips, inputs
   -------------------------------------------------------------------------- */
.btn-primary {
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600; color: #032318;
  background: linear-gradient(135deg, #b9f6dc, #3ccf98 52%, #1fb57f);
  box-shadow: 0 10px 30px -10px rgba(60,207,152,.8), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .25s, box-shadow .25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(60,207,152,.95), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); backdrop-filter: blur(10px);
  transition: border-color .25s, background .25s;
}
.btn-ghost:hover { border-color: rgba(111,227,182,.6); background: rgba(60,207,152,.08); }

.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px; font-size: .8rem;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: #c3cadb; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.chip:hover { border-color: rgba(111,227,182,.5); color: #fff; }
.chip.active { background: linear-gradient(135deg, rgba(111,227,182,.22), rgba(45,212,191,.14)); border-color: rgba(60,207,152,.7); color: #d4fbe9; box-shadow: 0 0 20px -6px rgba(60,207,152,.6); }

.field {
  width: 100%; padding: .75rem 1rem; border-radius: .9rem; color: #fff;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: rgba(60,207,152,.7); box-shadow: 0 0 0 4px rgba(60,207,152,.12); }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23ffb357' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
select.field option { background: #0c1120; }
.field.is-invalid { border-color: rgba(255,111,97,.75); box-shadow: 0 0 0 4px rgba(255,111,97,.12); }

/* Login / register */
.auth-error { padding: .75rem 1rem; border-radius: .9rem; font-size: .875rem; line-height: 1.45; color: #ffd0cb; background: rgba(255,111,97,.1); border: 1px solid rgba(255,111,97,.35); }
.btn-primary:disabled { opacity: .65; cursor: wait; transform: none; }
/* Payment page (abonnement.html): steps + the plan picked on the home page */
.pay-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .85rem; color: #6e7a97; list-style: none; padding: 0; }
.pay-steps li { display: flex; align-items: center; gap: .55rem; }
.pay-steps li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; font-size: .75rem; font-weight: 700; border: 1px solid rgba(255,255,255,.14); }
.pay-steps li.is-done { color: #a3adc4; }
.pay-steps li.is-done span { color: #032318; background: #3ccf98; border-color: #3ccf98; }
.pay-steps li.is-current { color: #fff; font-weight: 600; }
.pay-steps li.is-current span { color: #d4fbe9; border-color: rgba(60,207,152,.8); box-shadow: 0 0 18px -4px rgba(60,207,152,.8); }
[data-plan-card].is-picked { outline: 2px solid rgba(60,207,152,.7); outline-offset: 3px; }
.side-portal { display: block; width: 100%; margin: -.25rem 0 .75rem; padding: .45rem .6rem; border-radius: .7rem; font-size: .75rem; color: #a3adc4; text-align: center; border: 1px solid rgba(255,255,255,.08); transition: color .2s, border-color .2s; }
.side-portal:hover { color: #d4fbe9; border-color: rgba(60,207,152,.5); }
.side-user { display: flex; align-items: center; gap: .65rem; padding: .55rem .6rem; border-radius: .9rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.side-avatar { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 999px; font-weight: 700; font-size: .8rem; color: #032318; background: linear-gradient(135deg, #b9f6dc, #3ccf98); }
.side-logout { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: .6rem; color: #a3adc4; transition: background .2s, color .2s; }
.side-logout:hover { background: rgba(255,111,97,.12); color: #ff6f61; }

/* Regime badges */
.regime { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; border: 1px solid; }
.regime::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.regime-goldilocks { color: #3ee6b0; border-color: rgba(62,230,176,.35); background: rgba(62,230,176,.08); }
.regime-reflation  { color: #ffb357; border-color: rgba(255,179,87,.35); background: rgba(255,179,87,.08); }
.regime-stagflation{ color: #ff4f7b; border-color: rgba(255,79,123,.35); background: rgba(255,79,123,.08); }
.regime-deflation  { color: #5cc8ff; border-color: rgba(92,200,255,.35); background: rgba(92,200,255,.08); }
.regime-na         { color: #a3adc4; border-color: rgba(143,154,181,.3); background: rgba(143,154,181,.06); }
.regime-risk       { color: #ff8a4c; border-color: rgba(255,138,76,.38); background: rgba(255,138,76,.08); }

.up { color: #3ee6b0; }
.down { color: #ff5d7a; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

.skeleton { position: relative; overflow: hidden; background: rgba(255,255,255,.05); border-radius: .5rem; color: transparent !important; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); animation: sk 1.4s infinite; }
@keyframes sk { to { transform: translateX(100%); } }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(62,230,176,.7); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(62,230,176,.6); } 70% { box-shadow: 0 0 0 10px rgba(62,230,176,0); } 100% { box-shadow: 0 0 0 0 rgba(62,230,176,0); } }

.scroll-cue { width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.3); position: relative; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--brand); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Nav */
#site-nav { transition: background .35s, border-color .35s, padding .35s; }
#site-nav.scrolled { background: rgba(6, 9, 16, .72); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-color: rgba(255,255,255,.07); }
.nav-link { position: relative; color: #c3cadb; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #8ff0c9, #2dd4bf); box-shadow: 0 0 12px rgba(60,207,152,.8); }

/* Terminal sidebar — room reserved in plain CSS so the layout is right from the first paint */
@media (min-width: 1024px) { body[data-layout="terminal"] { padding-left: 17rem; } }
.side-link { position: relative; display: flex; align-items: center; gap: .75rem; padding: .4rem .75rem; border-radius: .9rem; color: #c3cadb; transition: background .2s, color .2s; }
.side-link:hover { background: rgba(255,255,255,.04); color: #fff; }
.side-link .side-ico { width: 2rem; height: 2rem; flex-shrink: 0; display: grid; place-items: center; border-radius: .75rem; background: rgba(255,255,255,.04); color: #3ccf98; transition: all .25s; }
.side-link.active { background: linear-gradient(90deg, rgba(60,207,152,.16), rgba(45,212,191,.04)); color: #fff; }
.side-link.active::before { content: ""; position: absolute; left: -.75rem; top: 22%; bottom: 22%; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(#8ff0c9, #2dd4bf); box-shadow: 0 0 14px rgba(60,207,152,.9); }
.side-link.is-soon { cursor: default; opacity: .5; }
.side-link.is-soon:hover { background: none; color: #c3cadb; }
.soon-tag { margin-left: auto; padding: .05rem .4rem; border-radius: 5px; font-size: 9px; font-family: Inter, system-ui, sans-serif; letter-spacing: .06em; color: #8ff0c9; background: rgba(60,207,152,.12); }
.side-link.active .side-ico { background: linear-gradient(135deg, #b9f6dc, #3ccf98 55%, #1fb57f); color: #032318; box-shadow: 0 6px 18px -6px rgba(60,207,152,.8); }

/* Indicator table selected row */
tr.row-active { background: linear-gradient(90deg, rgba(60,207,152,.10), rgba(60,207,152,.02)) !important; box-shadow: inset 3px 0 0 #3ccf98; }

/* Card without a visible border (the glass fill and shadow still define its edge) */
.card-flat { border-color: transparent; box-shadow: 0 10px 40px -12px rgba(0,0,0,.6); }

/* Soft table: rows are inset pills with rounded ends instead of full-bleed lines */
.tbl-soft { border-collapse: separate; border-spacing: 0 3px; }
.tbl-soft tbody td { transition: background .2s; }
.tbl-soft tbody td:first-child { border-radius: 14px 0 0 14px; }
.tbl-soft tbody td:last-child { border-radius: 0 14px 14px 0; }
.tbl-soft tbody tr:hover td { background: rgba(255,255,255,.04); }
.tbl-soft tbody tr.row-active { background: none !important; box-shadow: none; }
/* Tinted rows: pale green wash with a soft light reflection along the top edge */
.tbl-tint { border-spacing: 0 6px; }
/* opaque equivalents of a 5–10 % jade wash over the card: translucent cells double-blend on shared edges */
.tbl-tint tbody td { --tint: #182731; background: var(--tint); box-shadow: inset 0 1px 0 rgba(111,227,182,.10), 1px 0 0 var(--tint); } /* 1px spill hides sub-pixel gaps */
.tbl-tint tbody td:last-child { box-shadow: inset 0 1px 0 rgba(111,227,182,.10); }
.tbl-tint tbody tr:hover td { --tint: #1b3037; background: var(--tint); } /* overrides the generic .tbl-soft hover */
.tbl-soft tbody tr.row-active td { background: rgba(60,207,152,.09); }
.tbl-soft tbody td:first-child { position: relative; }
.tbl-soft tbody tr.row-active td:first-child::before { content: ""; position: absolute; left: 5px; top: 24%; bottom: 24%; width: 3px; border-radius: 3px; background: #3ccf98; box-shadow: 0 0 10px rgba(60,207,152,.7); }

/* Inflation Map heatmap — jade (site brand) = supportive for the currency, rose = headwind, neutral = dark */
.heat { border-collapse: separate; border-spacing: 0 6px; }
.heat-cell { border-radius: 10px; padding: .55rem .3rem; text-align: center; min-height: 60px; height: 100%; display: flex; flex-direction: column; justify-content: center; border: 1px solid; transition: transform .15s, box-shadow .2s; }
.heat-l { font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
/* the longest labels ("Accommodant", "Contraction") are a touch smaller so they stay inside the cell */
.heat-l.is-long { font-size: 11.5px; letter-spacing: -.025em; }
.heat-s { font-family: Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; font-size: 10.5px; line-height: 1.3; margin-top: 2px; opacity: .72; }
.heat-pos { background: rgba(60,207,152, calc(.24 * var(--a, 1))); border-color: rgba(60,207,152, calc(.55 * var(--a, 1))); color: #b9f6dc; box-shadow: 0 0 18px -8px rgba(60,207,152, calc(.7 * var(--a, 1))); }
.heat-neg { background: rgba(255,79,123, calc(.30 * var(--a, 1))); border-color: rgba(255,79,123, calc(.55 * var(--a, 1))); color: #ffc4d1; box-shadow: 0 0 18px -8px rgba(255,79,123, calc(.7 * var(--a, 1))); }
.heat-neu { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.07); color: #e6e9f1; }
.heat-na { background: rgba(255,255,255,.015); border-color: rgba(255,255,255,.04); color: #8692ad; }
.heat-ccy { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); height: 60px; }
.heat tbody tr:hover .heat-cell, .heat tbody tr:hover .heat-ccy { transform: translateY(-1px); }
.heat tbody tr.heat-sel .heat-cell, .heat tbody tr.heat-sel .heat-ccy { box-shadow: 0 0 0 1.5px rgba(255,255,255,.75); }

/* Yield watchlist — one row per benchmark; click hides the line, hover highlights it */
.yl-row { width: 100%; display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; border-radius: 12px; border: 1px solid transparent; background: rgba(255,255,255,.025); transition: background .2s, border-color .2s, opacity .2s; }
.yl-row:hover, .yl-row.is-focus { background: rgba(60,207,152,.07); border-color: rgba(60,207,152,.25); }
.yl-row.is-off { opacity: .38; }
.yl-row.is-off .yl-dot { box-shadow: none !important; background: transparent !important; outline: 1.5px solid #8692ad; }
.yl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.yl-ch { display: inline-block; margin-top: 2px; padding: 0 .35rem; border-radius: 5px; font-family: Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; font-size: 10px; line-height: 16px; color: #a3adc4; background: rgba(255,255,255,.04); }
.yl-ch.is-up { color: #8ff0c9; background: rgba(60,207,152,.14); }
.yl-ch.is-down { color: #ffc4d1; background: rgba(255,79,123,.16); }

/* Rate Tracker bank picker */
.rt-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 640px) { .rt-picker { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .rt-picker { grid-template-columns: repeat(8, 1fr); } }
.rt-bank { display: flex; align-items: center; gap: .55rem; min-width: 0; padding: .55rem .65rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.025); transition: background .2s, border-color .2s, box-shadow .2s; }
.rt-bank:hover { background: rgba(60,207,152,.07); border-color: rgba(60,207,152,.25); }
.rt-bank.is-active { background: linear-gradient(135deg, rgba(111,227,182,.18), rgba(45,212,191,.08)); border-color: rgba(60,207,152,.7); box-shadow: 0 0 20px -8px rgba(60,207,152,.7); }

/* Bias Score */
.bs-ccys { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 640px) { .bs-ccys { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .bs-ccys { grid-template-columns: repeat(8, 1fr); } }
.bs-ccy { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
.bs-track { position: relative; height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); }
.bs-track::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: rgba(255,255,255,.18); }
.bs-track > span { position: absolute; top: 0; bottom: 0; border-radius: 999px; }
.bs-badge { display: inline-block; padding: .1rem .5rem; border-radius: 6px; font-size: 11px; font-weight: 600; color: #c9b8ff; background: rgba(177,140,255,.14); }
.bs-badge.is-up { color: #8ff0c9; background: rgba(60,207,152,.15); }
.bs-badge.is-down { color: #ffc4d1; background: rgba(255,79,123,.16); }
.bs-scale { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #ff4f7b, #b18cff 50%, #3ccf98); }
.bs-marker { position: absolute; top: -5px; width: 8px; height: 18px; margin-left: -4px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 2px #0b111c, 0 0 12px rgba(255,255,255,.5); transition: left .6s cubic-bezier(.2,.7,.2,1); }

/* Economic calendar */
.cal-ccy { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; font-size: .78rem; font-family: Inter, system-ui, sans-serif; color: #a3adc4; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); opacity: .55; transition: all .2s; user-select: none; }
.cal-ccy:hover { opacity: .85; }
.cal-ccy.is-on { opacity: 1; color: #e6e9f1; border-color: rgba(60,207,152,.45); background: rgba(60,207,152,.08); }
.cal-imp { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.cal-imp > span { width: 4px; border-radius: 1.5px; }
.cal-table { border-collapse: separate; border-spacing: 0; }
.cal-day td { padding: 1.1rem .75rem .5rem; font-size: 12px; font-weight: 600; color: #8ff0c9; letter-spacing: .02em; border-bottom: 1px solid rgba(255,255,255,.06); scroll-margin-top: 90px; }
.cal-today { margin-left: .6rem; padding: .1rem .5rem; border-radius: 6px; font-size: 10px; font-family: Inter, system-ui, sans-serif; color: #3a2a00; background: #fff1a8; }
.cal-row { cursor: pointer; transition: background .15s; }
.cal-row td { border-bottom: 1px solid rgba(255,255,255,.035); }
.cal-row:hover td { background: rgba(255,255,255,.03); }
.cal-row.is-past td { opacity: .62; }
.cal-row.is-next td { background: rgba(60,207,152,.07); }
.cal-row.is-next td:first-child { box-shadow: inset 3px 0 0 #3ccf98; }
.cal-row.is-open td { background: rgba(60,207,152,.06); opacity: 1; }
.cal-next-tag { margin-left: .5rem; padding: .05rem .4rem; border-radius: 5px; font-size: 10px; font-family: Inter, system-ui, sans-serif; color: #8ff0c9; background: rgba(60,207,152,.15); }
.cal-detail td { padding: .9rem 1rem 1.1rem; background: rgba(60,207,152,.035); border-bottom: 1px solid rgba(255,255,255,.06); }

/* Bias Score → Divergences warning */
.bs-split { margin-top: .9rem; display: flex; align-items: flex-start; gap: .6rem; padding: .7rem .85rem; border-radius: 12px; font-size: 12px; line-height: 1.45; color: #c3cadb; background: rgba(255,179,87,.07); border: 1px solid rgba(255,179,87,.28); transition: background .2s; }
.bs-split:hover { background: rgba(255,179,87,.12); }

/* Divergences */
.dv-badge { display: inline-block; padding: .15rem .55rem; border-radius: 7px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.dv-watch { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .8rem; border-radius: 12px; font-size: 13px; line-height: 1.35; color: #e6e9f1; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); transition: background .2s, border-color .2s; }
.dv-watch:hover { background: rgba(60,207,152,.07); border-color: rgba(60,207,152,.3); }

/* La compréhension — conclusion panel, tinted by the scenario tone */
.dv-conclusion { margin-top: 1.75rem; padding: 1.25rem 1.35rem; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 10%, transparent), rgba(255,255,255,.015)); border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent); }
.dv-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .65rem; border-radius: 10px; font-size: 12.5px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }

/* Hero canvas */
#world-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette { background: radial-gradient(ellipse at 50% 45%, transparent 30%, rgba(4,6,11,.7) 75%, var(--ink-950) 100%); }

/* Tables */
.data-table th { font-family: Inter, system-ui, sans-serif; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #a3adc4; font-weight: 500; cursor: pointer; user-select: none; white-space: nowrap; }
.data-table th:hover { color: #8ff0c9; }
.data-table tbody tr { border-top: 1px solid rgba(255,255,255,.05); transition: background .2s; }
.data-table tbody tr:hover { background: rgba(60,207,152,.05); }

/* Map */
.country-path { transition: opacity .2s, stroke .2s; cursor: pointer; }
.country-path:hover { stroke: #ffe2b8 !important; stroke-width: 1.2px; }
.map-tooltip { pointer-events: none; position: fixed; z-index: 60; transition: opacity .15s; }

/* Combobox */
.combo-list { max-height: 320px; overflow-y: auto; }
.combo-item.hl { background: rgba(60,207,152,.12); }

/* Gauge */
.gauge-ring { transition: stroke-dashoffset 1.4s cubic-bezier(.2,.7,.2,1); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* État des données */
.st-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; background: #5b6676; }
.st-dot.st-ok { background: #3ccf98; box-shadow: 0 0 8px rgba(60,207,152,.6); }
.st-dot.st-late { background: #f5b14c; box-shadow: 0 0 8px rgba(245,177,76,.6); }
.st-dot.st-stale { background: #ff4f7b; box-shadow: 0 0 8px rgba(255,79,123,.6); }
.st-table { border-collapse: separate; border-spacing: 0 4px; font-size: 12.5px; }
.st-table th { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #8b97a8; padding: 0 .4rem .4rem; text-align: center; }
.st-table th.text-left { text-align: left; }
.st-name { color: #c9d2de; padding-right: .75rem; white-space: nowrap; }
.st-cell { text-align: center; padding: 0 .2rem; }
.st-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .55rem; border-radius: 9px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.025); font-size: 11.5px; white-space: nowrap; }
.st-chip.st-late { border-color: rgba(245,177,76,.35); background: rgba(245,177,76,.08); }
.st-chip.st-stale { border-color: rgba(255,79,123,.4); background: rgba(255,79,123,.09); }
.side-status { display: flex; align-items: center; gap: .5rem; border-radius: 10px; padding: .1rem .35rem; margin: -.1rem -.35rem; transition: background .2s; }
.side-status[hidden] { display: none; }
.side-status:hover { background: rgba(255,255,255,.05); color: #fff; }

/* La compréhension — lines of the four axis cards: label, value, score badge */
.dv-line { padding: .5rem 0; border-top: 1px solid rgba(255,255,255,.05); }
.dv-line:first-child { border-top: 0; padding-top: 0; }
.dv-k { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: 11.5px; color: #8692ad; line-height: 1.3; }
.dv-v { margin-top: .2rem; font-size: 13px; font-weight: 500; color: #e6e9f1; line-height: 1.35; font-variant-numeric: tabular-nums; }
.dv-sc { flex-shrink: 0; min-width: 1.9rem; text-align: center; padding: .05rem .35rem; border-radius: 6px; font-family: Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; font-size: 10.5px; color: #c3cadb; background: rgba(255,255,255,.06); }
.dv-sc.is-up { color: #8ff0c9; background: rgba(60,207,152,.14); }
.dv-sc.is-down { color: #ffb3c5; background: rgba(255,79,123,.14); }

/* COT Report */
.cot-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .75rem; border-radius: 999px; font-size: 12px; color: #e6e9f1; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.cot-pill b { font-weight: 600; }
.cot-gauge { position: relative; flex: 1; height: 6px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,79,123,.55) 0 10%, rgba(255,255,255,.07) 10% 90%, rgba(60,207,152,.55) 90% 100%); }
.cot-gauge > span { position: absolute; top: -3px; width: 4px; height: 12px; margin-left: -2px; border-radius: 2px; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.6); }
.cot-tile { padding: .8rem .9rem; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); min-width: 0; }
.cot-tile-k { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8692ad; }
.cot-tile-v { margin-top: .3rem; font-size: 1.05rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cot-tile-s { margin-top: .15rem; font-size: 11px; color: #a3adc4; font-variant-numeric: tabular-nums; }
.cot-weeks { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cot-weeks th { font-size: 11px; font-weight: 500; color: #8692ad; text-align: right; padding: 0 .6rem .5rem; }
.cot-weeks td { text-align: right; padding: .45rem .6rem; border-top: 1px solid rgba(255,255,255,.05); color: #e6e9f1; white-space: nowrap; }
.cot-weeks th.text-left, .cot-weeks td.text-left { text-align: left; }
.bs-badge.is-amber { color: #ffd29a; background: rgba(255,179,87,.16); }

/* Seasonal FX */
.sz-card { display: block; width: 100%; padding: .9rem 1rem; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); transition: background .2s, border-color .2s; }
.sz-card:hover { background: rgba(60,207,152,.06); border-color: rgba(60,207,152,.3); }
.sz-table { border-collapse: separate; border-spacing: 0 3px; font-variant-numeric: tabular-nums; }
.sz-table th { font-size: 11px; font-weight: 500; color: #8692ad; padding: 0 2px .4rem; text-align: center; }
.sz-table th.text-left { text-align: left; }
.sz-table th.is-cur { color: #8ff0c9; font-weight: 600; }
.sz-name { font-size: 12.5px; font-weight: 600; color: #e6e9f1; padding-right: .5rem; white-space: nowrap; }
.sz-td { padding: 0 2px; }
.sz-cell { height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 500; color: #e6e9f1; white-space: nowrap; border: 1px solid transparent; }
.sz-cell.is-weak { color: #a3adc4; }
.sz-cell.is-mid { font-weight: 600; border-color: rgba(255,179,87,.45); }
.sz-cell.is-strong { font-weight: 700; color: #fff; border-color: rgba(255,255,255,.55); }
.sz-cell.sz-na, .sz-mini.sz-na { background: rgba(255,255,255,.02); color: #6e7a97; }
.sz-td.is-cur .sz-cell { box-shadow: 0 0 0 1.5px rgba(143,240,201,.45); }
.sz-table tbody tr { cursor: pointer; }
.sz-table tbody tr:hover .sz-name { color: #8ff0c9; }
.sz-table tbody tr.is-sel .sz-name { color: #3ccf98; }
.sz-table tbody tr.is-sel .sz-cell { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.sz-years tbody tr { cursor: default; }
.sz-mini { height: 24px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 10.5px; color: #e6e9f1; white-space: nowrap; }
.sz-mini.is-mtd { outline: 1px dashed rgba(255,255,255,.55); outline-offset: -1px; }
.sz-cur-row td { background: rgba(60,207,152,.06); }

/* News Feed */
.nw-day { position: sticky; top: 0; z-index: 1; margin: 1.1rem 0 .3rem; padding: .3rem 0; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8ff0c9; background: linear-gradient(180deg, rgba(12,17,32,.96), rgba(12,17,32,.7)); }
.nw-day:first-child { margin-top: 0; }
.nw-item { display: flex; gap: .9rem; padding: .8rem .7rem; border-radius: 14px; border-top: 1px solid rgba(255,255,255,.04); transition: background .2s; }
.nw-item:hover { background: rgba(255,255,255,.035); }
.nw-item:hover .nw-go { opacity: 1; transform: translate(1px, -1px); }
.nw-time { width: 3rem; flex-shrink: 0; padding-top: .1rem; font-size: 12px; color: #a3adc4; font-variant-numeric: tabular-nums; }
.nw-title { margin-top: .35rem; font-size: 14px; font-weight: 600; line-height: 1.4; color: #f1f4f9; overflow-wrap: anywhere; }
.nw-sum { margin-top: .25rem; font-size: 12.5px; line-height: 1.5; color: #a3adc4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-go { flex-shrink: 0; align-self: center; color: #6fe3b6; opacity: .35; transition: opacity .2s, transform .2s; }
.nw-src { padding: .05rem .45rem; border-radius: 6px; font-size: 10.5px; font-weight: 600; }
.nw-src.nw-cb { color: #ffd29a; background: rgba(255,179,87,.14); }
.nw-src.nw-fx { color: #8ff0c9; background: rgba(60,207,152,.13); }
.nw-src.nw-world { color: #a9dcff; background: rgba(92,200,255,.13); }
.nw-src.nw-flash { color: #ffd08a; background: rgba(255,179,87,.13); }
.nw-src.nw-trump { color: #ffb3c4; background: rgba(255,79,123,.15); }
.nw-post { font-size: 16px; line-height: 1.7; color: #f1f4f9; overflow-wrap: anywhere; }
.nw-new { padding: .05rem .45rem; border-radius: 6px; font-size: 10.5px; font-weight: 700; color: #3a2a00; background: #ffe08a; }
.nw-ccy { padding: .05rem .4rem; border-radius: 5px; font-size: 10.5px; font-weight: 600; color: #e6e9f1; background: rgba(255,255,255,.07); }
.nw-topic { padding: .05rem .4rem; border-radius: 5px; font-size: 10.5px; color: #c9b8ff; background: rgba(177,140,255,.12); }
.nw-thumb { flex-shrink: 0; align-self: center; width: 112px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: rgba(255,255,255,.04); }
@media (max-width: 480px) { .nw-thumb { width: 76px; } }
/* --------------------------------------------------------------------------
   Home: preview cards (illustrative values) — animated when they scroll in
   (.reveal → .in), every card leads to the plans. Then pricing.
   -------------------------------------------------------------------------- */
@property --pv-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.pv-card {
  position: relative; display: flex; flex-direction: column; padding: 1.5rem; border-radius: 1.6rem;
  background: linear-gradient(160deg, rgba(22,30,48,.92), rgba(10,14,26,.94));
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 24px 60px -34px rgba(0,0,0,.9);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s, border-color .45s, opacity .9s cubic-bezier(.2,.7,.2,1);
}
/* rotating light on the border, on hover */
.pv-card::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: conic-gradient(from var(--pv-a), transparent 0 55%, rgba(111,227,182,.9) 70%, rgba(92,200,255,.7) 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: pv-spin 4s linear infinite;
}
@keyframes pv-spin { to { --pv-a: 360deg; } }
.pv-card:hover { transform: translateY(-6px); border-color: rgba(111,227,182,.25); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 34px 70px -30px rgba(60,207,152,.45); }
.pv-card.reveal.in:hover { transform: translateY(-6px); }
.pv-card:hover::after { opacity: 1; }

.pv-head { display: flex; align-items: flex-start; gap: .8rem; }
.pv-ico { flex-shrink: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .9rem; color: #04130d;
  background: linear-gradient(135deg, #b9f6dc, #3ccf98 55%, #1fb57f); box-shadow: 0 10px 24px -10px rgba(60,207,152,.9); transition: transform .45s; }
.pv-ico svg { width: 1.25rem; height: 1.25rem; }
.pv-card:hover .pv-ico { transform: rotate(-8deg) scale(1.06); }
.pv-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.12rem; font-weight: 600; line-height: 1.25; color: #fff; }
.pv-hook { margin-top: .2rem; font-size: 12.5px; line-height: 1.4; color: #a3adc4; }
.pv-tag { flex-shrink: 0; padding: .15rem .55rem; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: .04em; color: #8692ad; background: rgba(255,255,255,.05); }
.pv-body { margin-top: 1.4rem; }

.pv-go { margin-top: auto; padding-top: 1.2rem; display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; font-size: 13.5px; font-weight: 600; color: #6fe3b6; }
.pv-arrow { display: inline-block; transition: transform .3s; }
.pv-card:hover .pv-arrow { transform: translateX(5px); }

/* bars: grow from zero when the card comes in (--w target width, --g delay) */
.pv-bar, .pv-str, .pv-pair, .pv-rate { display: flex; align-items: center; gap: .7rem; font-size: 11.5px; }
.pv-bar span { width: 4.8rem; color: #c4cbdb; }
.pv-str span { width: 2.4rem; font-weight: 600; color: #fff; }
.pv-pair span, .pv-rate span { width: 3.6rem; color: #c4cbdb; font-variant-numeric: tabular-nums; }
.pv-bar i, .pv-str i, .pv-pair i { position: relative; flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.pv-bar em, .pv-str em, .pv-pair em, .pv-rate em { width: 2.4rem; text-align: right; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; color: #e6e9f1; }
.pv-grow { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, rgba(62,230,176,.4), #3ee6b0); transition: width 1.3s cubic-bezier(.2,.7,.2,1) var(--g, 0s); }
.pv-pos, .pv-neg { position: absolute; top: 0; bottom: 0; width: 0; border-radius: 999px; transition: width 1.3s cubic-bezier(.2,.7,.2,1) var(--g, 0s); }
.pv-pos { left: 50%; background: linear-gradient(90deg, rgba(60,207,152,.5), #3ccf98); box-shadow: 0 0 10px rgba(60,207,152,.5); }
.pv-neg { right: 50%; background: linear-gradient(270deg, rgba(255,79,123,.5), #ff4f7b); box-shadow: 0 0 10px rgba(255,79,123,.5); }
.pv-pair i::before, .pv-str i::before { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: rgba(255,255,255,.18); }
.in .pv-grow, .in .pv-pos, .in .pv-neg { width: calc(var(--w) / 2); }
.in .pv-grow { width: var(--w); }
.pv-sig { width: 3.2rem; padding: .1rem 0; border-radius: 6px; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .03em; opacity: 0; transform: translateY(4px); transition: opacity .5s 1.3s, transform .5s 1.3s; }
.pv-sig.is-buy { color: #04130d; background: #3ccf98; }
.pv-sig.is-sell { color: #fff; background: #ff4f7b; }
.in .pv-sig { opacity: 1; transform: none; }
.pv-rate i { display: flex; flex: 1; gap: 2px; height: 8px; border-radius: 999px; overflow: hidden; transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.7,.2,1) var(--g, 0s); }
.pv-rate i b { display: block; height: 100%; }
.in .pv-rate i { transform: scaleX(1); }
/* rate card: line chart drawn when the card comes in */
.pv-bank { padding: .15rem .55rem; border-radius: 7px; font-size: 11px; font-weight: 600; color: #8692ad; background: rgba(255,255,255,.04); }
.pv-bank.is-on { color: #04130d; background: #3ccf98; }
.pv-path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.4,.1,.2,1) var(--g, 0s); }
.pv-path.is-main { stroke-width: 2.6; filter: drop-shadow(0 0 4px rgba(60,207,152,.6)); }
.pv-area, .pv-ends { opacity: 0; transition: opacity .8s 1.4s; }
.in .pv-path { stroke-dashoffset: 0; }
.in .pv-area, .in .pv-ends { opacity: 1; }
.pv-next { font-size: 10.5px; white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; padding: .15rem .55rem; border-radius: 999px; color: #c4cbdb; background: rgba(60,207,152,.1); }
.pv-next b { color: #fff; font-weight: 600; }

/* score gauge */
.pv-gauge { stroke-dashoffset: 201; transition: stroke-dashoffset 1.8s cubic-bezier(.2,.7,.2,1) .15s; filter: drop-shadow(0 0 6px rgba(62,230,176,.55)); }
.in .pv-gauge { stroke-dashoffset: var(--to); }

/* news card: the AI summary writes itself */
.pv-news { padding: 1rem; border-radius: 1rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.pv-type { position: relative; padding-left: 1rem; clip-path: inset(0 100% 0 0); transition: clip-path .9s steps(28) var(--g, 0s); }
.pv-type::before { content: '•'; position: absolute; left: 0; color: #6fe3b6; }
.pv-impact { margin-top: .55rem; font-size: 11.5px; font-weight: 600; color: #ffd29a; }
.pv-impact::before { content: '↗'; color: #ffd29a; }
.in .pv-type { clip-path: inset(0 0 0 0); }
.pv-shine { position: relative; overflow: hidden; }
.pv-shine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%); transform: translateX(-120%); animation: pv-shine 3.2s ease-in-out infinite 1s; }
@keyframes pv-shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* calendar */
.pv-ev { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; font-size: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); }
.pv-ev.is-next { border-color: rgba(255,79,123,.35); background: linear-gradient(90deg, rgba(255,79,123,.12), rgba(255,255,255,.02)); }
.pv-count { padding: .1rem .45rem; border-radius: 6px; font-weight: 700; color: #fff; background: rgba(255,79,123,.25); }
.pv-imp { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; }
.pv-imp.is-high { background: #ff4f7b; box-shadow: 0 0 8px rgba(255,79,123,.7); animation: pv-pulse 1.6s ease-in-out infinite; }
.pv-imp.is-mid { background: #ffb357; }
@keyframes pv-pulse { 50% { box-shadow: 0 0 0 5px rgba(255,79,123,0); transform: scale(1.15); } }
.pv-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 2px; vertical-align: 0; }

/* the locked part of each card: what members see */
.pv-lock { position: relative; margin-top: 1rem; padding: .7rem .8rem; border-radius: .9rem; overflow: hidden; background: rgba(255,255,255,.025); border: 1px dashed rgba(255,255,255,.09); }
.pv-lock-rows { display: grid; gap: .35rem; font-size: 12px; color: #c4cbdb; filter: blur(4px); user-select: none; }
.pv-lock-rows div { padding: .15rem 0; }
.pv-lock-chip { position: absolute; inset: 0; margin: auto; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; width: max-content; height: max-content; max-width: 92%;
  padding: .4rem .8rem; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #fff; text-align: center;
  background: rgba(8,12,22,.82); border: 1px solid rgba(111,227,182,.35); box-shadow: 0 8px 24px -10px rgba(0,0,0,.8); transition: border-color .3s, background .3s; }
.pv-lock-chip svg { width: 13px; height: 13px; color: #6fe3b6; flex-shrink: 0; }
.pv-card:hover .pv-lock-chip { border-color: rgba(111,227,182,.8); background: rgba(14,38,30,.92); }
.pv-lock::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(111,227,182,.08) 50%, transparent 70%); transform: translateX(-100%); animation: pv-shine 4.5s ease-in-out infinite; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .pv-card::after, .pv-shine::after, .pv-lock::after, .pv-imp.is-high { animation: none; }
  .pv-grow, .pv-pos, .pv-neg, .pv-rate i, .pv-gauge, .pv-type, .pv-sig, .pv-path, .pv-area, .pv-ends { transition: none; }
}
.pv-check { position: relative; padding-left: 1.7rem; line-height: 1.5; }
.pv-check::before { content: ''; position: absolute; left: 0; top: .15rem; width: 1.1rem; height: 1.1rem; border-radius: 999px; background: rgba(60,207,152,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fe3b6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* Menu: live badge on the "Sessions" button */
.sess-badge { margin-left: auto; flex-shrink: 0; padding: .05rem .45rem; border-radius: 6px; font-size: 9.5px; font-weight: 600; font-family: Inter, system-ui, sans-serif; color: #8692ad; background: rgba(255,255,255,.05); white-space: nowrap; }
.sess-badge:empty { display: none; }
.sess-badge.is-on { color: #8ff0c9; background: rgba(60,207,152,.12); }
.sess-badge.is-hot { color: #04130d; background: #3ccf98; box-shadow: 0 0 10px rgba(60,207,152,.55); }

/* Sessions page */
.ss-clock { display: flex; flex-direction: column; align-items: flex-end; padding: .55rem .9rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.ss-clock-k { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8692ad; }
.ss-clock-v { margin-top: .1rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 600; color: #fff; }
.ss-now-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.3rem 1.5rem; border-radius: 1.6rem; background: linear-gradient(120deg, rgba(22,30,48,.92), rgba(10,14,26,.94)); border: 1px solid rgba(255,255,255,.07); }
.ss-now-in.is-on { border-color: rgba(92,200,255,.25); }
.ss-now-in.is-hot { border-color: rgba(60,207,152,.45); background: linear-gradient(120deg, rgba(14,48,38,.85), rgba(10,14,26,.94)); box-shadow: 0 20px 60px -30px rgba(60,207,152,.6); }
.ss-pulse { flex-shrink: 0; width: 14px; height: 14px; border-radius: 999px; background: #6e7a97; }
.ss-pulse.is-on { background: #5cc8ff; box-shadow: 0 0 0 0 rgba(92,200,255,.6); animation: ss-ring 2s infinite; }
.ss-pulse.is-hot { background: #3ccf98; box-shadow: 0 0 0 0 rgba(60,207,152,.6); animation: ss-ring-g 2s infinite; }
@keyframes ss-ring { 70% { box-shadow: 0 0 0 12px rgba(92,200,255,0); } }
@keyframes ss-ring-g { 70% { box-shadow: 0 0 0 12px rgba(60,207,152,0); } }
.ss-next { padding: .5rem .9rem; border-radius: 999px; font-size: 13px; color: #c4cbdb; background: rgba(255,255,255,.05); }
.ss-next b { color: #fff; }

.ss-tl { min-width: 640px; }
.ss-tl-grid { --lbl: 6.5rem; position: relative; display: grid; gap: .55rem; padding-top: 1.4rem; }
.ss-tl-area { position: absolute; left: var(--lbl); right: 0; top: .4rem; bottom: 1.4rem; pointer-events: none; }
.ss-lane { display: flex; align-items: center; }
.ss-lane-k { width: var(--lbl); flex-shrink: 0; display: flex; align-items: center; gap: .5rem; font-size: 12.5px; color: #a3adc4; }
.ss-lane-k i { width: 8px; height: 8px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--c); }
.ss-lane.is-open .ss-lane-k { color: #fff; font-weight: 600; }
.ss-lane.is-open .ss-lane-k i { background: var(--c); box-shadow: 0 0 8px var(--c); }
.ss-lane-track { position: relative; flex: 1; height: 1.6rem; border-radius: .6rem; background: rgba(255,255,255,.03); }
.ss-bar { position: absolute; top: 0; bottom: 0; border-radius: .6rem; background: var(--c); opacity: .3; }
.ss-lane.is-open .ss-bar { opacity: .95; box-shadow: 0 0 16px -2px var(--c); }
.ss-shade { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(134,146,173,.1) 0 6px, transparent 6px 12px); border-left: 1px dashed rgba(134,146,173,.3); border-right: 1px dashed rgba(134,146,173,.3); }
.ss-shade.is-hot { background: repeating-linear-gradient(135deg, rgba(60,207,152,.14) 0 6px, transparent 6px 12px); border-color: rgba(60,207,152,.45); }
.ss-tl-now { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.8); }
.ss-tl-now span { position: absolute; top: -1.35rem; left: 50%; transform: translateX(-50%); padding: .05rem .4rem; border-radius: 6px; font-size: 10.5px; font-weight: 700; color: #04060b; background: #fff; font-variant-numeric: tabular-nums; }
.ss-tl-axis { position: relative; margin-left: var(--lbl); height: 1rem; font-size: 10.5px; color: #6e7a97; font-variant-numeric: tabular-nums; }
.ss-tl-axis span { position: absolute; top: 0; transform: translateX(-50%); }
.ss-tl-axis span:first-child { transform: none; }
.ss-tl-axis span:last-child { transform: translateX(-100%); }

.ss-card { position: relative; padding: 1.3rem; border-radius: 1.4rem; background: linear-gradient(160deg, rgba(22,30,48,.92), rgba(10,14,26,.94)); border: 1px solid rgba(255,255,255,.07); transition: transform .35s, border-color .35s; }
.ss-card:hover { transform: translateY(-3px); }
.ss-card.is-open { border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 24px 60px -36px var(--c); }
.ss-city { display: inline-flex; align-items: center; gap: .55rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 600; color: #fff; }
.ss-city i { width: 10px; height: 10px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--c); }
.ss-card.is-open .ss-city i { background: var(--c); box-shadow: 0 0 10px var(--c); }
.ss-pill { flex-shrink: 0; white-space: nowrap; line-height: 1.5; padding: .12rem .55rem; border-radius: 999px; font-size: 10.5px; font-weight: 700; color: #a3adc4; background: rgba(255,255,255,.06); }
.ss-pill.is-open { color: #04130d; background: var(--c, #3ccf98); }
.ss-pill.is-hot { color: #04130d; background: #3ccf98; }
.ss-progress { height: 5px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.ss-progress b { display: block; height: 100%; border-radius: 999px; background: var(--c); transition: width .6s; }
.ss-pair { padding: .1rem .45rem; border-radius: 6px; font-size: 10.5px; font-weight: 600; color: #e6e9f1; background: rgba(255,255,255,.06); font-variant-numeric: tabular-nums; }
.ss-ov { padding: 1.3rem; border-radius: 1.4rem; background: linear-gradient(160deg, rgba(22,30,48,.92), rgba(10,14,26,.94)); border: 1px solid rgba(255,255,255,.07); }
.ss-ov.is-hot { border-color: rgba(60,207,152,.25); }
.ss-ov.is-live { border-color: rgba(60,207,152,.6); box-shadow: 0 24px 60px -34px rgba(60,207,152,.7); }
@media (prefers-reduced-motion: reduce) { .ss-pulse.is-on, .ss-pulse.is-hot { animation: none; } }

/* Home: FAQ (native <details>) */
.faq { border-radius: 1.2rem; background: linear-gradient(160deg, rgba(22,30,48,.85), rgba(10,14,26,.9)); border: 1px solid rgba(255,255,255,.07); transition: border-color .3s, background .3s; }
.faq:hover { border-color: rgba(111,227,182,.22); }
.faq[open] { border-color: rgba(111,227,182,.3); background: linear-gradient(160deg, rgba(20,40,36,.7), rgba(10,14,26,.92)); }
.faq summary { position: relative; display: block; padding: 1.15rem 3.4rem 1.15rem 1.4rem; cursor: pointer; list-style: none; font-weight: 600; font-size: 15px; line-height: 1.45; color: #f1f4f9; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 1.2rem; top: 50%; width: 1.6rem; height: 1.6rem; margin-top: -.8rem; border-radius: 999px; background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fe3b6' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 55% no-repeat; transition: transform .35s, background-color .3s; }
.faq[open] summary::after { transform: rotate(45deg); background-color: rgba(60,207,152,.2); }
.faq summary:focus-visible { outline: 2px solid rgba(111,227,182,.6); outline-offset: 2px; border-radius: 1.2rem; }
.faq-a { padding: 0 1.4rem 1.3rem; font-size: 14px; line-height: 1.7; color: #b8c0d2; animation: faq-in .35s ease-out; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq-a { animation: none; } .faq summary::after { transition: none; } }

/* Explorer: card fed by the latest monthly / quarterly release */
.kpi-live { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 999px; vertical-align: 1px; background: #3ee6b0; box-shadow: 0 0 8px rgba(62,230,176,.8); }

.nw-card { cursor: pointer; }
.nw-card:focus-visible { outline: 2px solid rgba(111,227,182,.6); outline-offset: 2px; }
.nw-go { font-size: 18px; line-height: 1; }
.nw-card.open { cursor: default; margin: .5rem 0; padding: 1.2rem 1.1rem 1.3rem; background: rgba(255,255,255,.045); border: 1px solid rgba(111,227,182,.22); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.nw-card.open:hover { background: rgba(255,255,255,.045); }
.nw-card.open .nw-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; line-height: 1.3; letter-spacing: -.01em; cursor: pointer; }
.nw-card.open .nw-go { align-self: flex-start; opacity: 1; cursor: pointer; }
.nw-exp { margin-top: 1rem; cursor: auto; animation: nw-r-in .2s ease-out; }
.nw-exp-img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 14px; margin-bottom: 1rem; background: rgba(255,255,255,.04); }
.nw-exp-text { font-size: 14.5px; line-height: 1.7; color: #dfe4ee; overflow-wrap: anywhere; }
.nw-exp-text p + p { margin-top: .75em; }
.nw-ai-wait { display: flex; align-items: center; gap: .6rem; font-size: 12.5px; color: #a3adc4; }
.nw-ai-badge { padding: .15rem .55rem; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: #e9e0ff; background: linear-gradient(90deg, rgba(177,140,255,.35), rgba(111,227,182,.3)); }
.nw-exp-text .nw-ai-wait + p { margin-top: .9em; }
.nw-ai-box { margin-top: 1.1em; padding: .9rem 1rem; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.nw-ai-box ul { list-style: disc; padding-left: 1.2em; }
.nw-ai-box li + li { margin-top: .35em; }
.nw-ai-box li::marker { color: #6fe3b6; }
.nw-ai-h { margin-bottom: .4rem; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8ff0c9; }
.nw-ai-impact { border-color: rgba(255,179,87,.25); background: rgba(255,179,87,.06); }
.nw-ai-impact .nw-ai-h { color: #ffd29a; }
.nw-exp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); }
.nw-exp-go { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1rem; border-radius: 999px; font-size: 13px; font-weight: 600; color: #04130d; background: #6fe3b6; transition: background .2s, transform .2s; }
.nw-exp-go:hover { background: #8ff0c9; transform: translateY(-1px); }
.nw-read { margin-top: .35rem; font-size: 11.5px; font-weight: 600; color: #ffd29a; }

/* News reader (central-bank releases, full text) */
.nw-reader { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem max(1rem, env(safe-area-inset-bottom, 0px)); }
.nw-reader[hidden] { display: none; }
.nw-r-backdrop { position: absolute; inset: 0; background: rgba(2,4,8,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nw-r-panel { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 46rem; max-height: 100%; border-radius: 1.6rem; overflow: hidden; background: rgba(10,14,26,.94); box-shadow: 0 30px 80px rgba(0,0,0,.55); animation: nw-r-in .22s ease-out; }
@keyframes nw-r-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.nw-r-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1rem .85rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.nw-r-close { flex-shrink: 0; width: 2.2rem; height: 2.2rem; border-radius: 999px; color: #c4cbdb; background: rgba(255,255,255,.06); transition: background .2s, color .2s; }
.nw-r-close:hover, .nw-r-close:focus-visible { color: #fff; background: rgba(255,255,255,.14); outline: none; }
.nw-r-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 1.6rem 1.4rem 2rem; }
@media (min-width: 640px) { .nw-r-scroll { padding: 2rem 2.4rem 2.4rem; } }
.nw-r-foot { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #a3adc4; }
.nw-r-foot a { color: #8ff0c9; }

.nw-article { font-size: 15px; line-height: 1.75; color: #dfe4ee; overflow-wrap: anywhere; }
.nw-article > * + * { margin-top: 1em; }
.nw-article h2, .nw-article h3 { margin-top: 1.8em; font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 600; line-height: 1.35; color: #fff; }
.nw-article h4, .nw-article h5, .nw-article h6 { margin-top: 1.5em; font-size: 1rem; font-weight: 600; color: #fff; }
.nw-article strong, .nw-article b { color: #fff; font-weight: 600; }
.nw-article em, .nw-article i { font-style: italic; }
.nw-article a { color: #8ff0c9; text-decoration: underline; text-decoration-color: rgba(143,240,201,.35); text-underline-offset: 2px; }
.nw-article a:hover { text-decoration-color: currentColor; }
.nw-article ul, .nw-article ol { padding-left: 1.4em; }
.nw-article ul { list-style: disc; }
.nw-article ol { list-style: decimal; }
.nw-article li + li { margin-top: .45em; }
.nw-article li::marker { color: #6fe3b6; }
.nw-article img { display: block; max-width: 100%; height: auto; margin: 1.4em auto; border-radius: 12px; background: #fff; }
.nw-article figure img { margin-bottom: .5em; }
.nw-article figcaption, .nw-article caption { font-size: 12.5px; color: #a3adc4; }
.nw-article blockquote { padding-left: 1em; border-left: 3px solid rgba(111,227,182,.5); color: #c4cbdb; }
.nw-article sup { font-size: .7em; }
.nw-article hr { border-color: rgba(255,255,255,.1); margin: 2em 0; }
.nw-article table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 13px; }
.nw-article th, .nw-article td { padding: .45em .7em; border: 1px solid rgba(255,255,255,.1); text-align: left; vertical-align: top; }
.nw-article th { color: #fff; background: rgba(255,255,255,.05); }
.nw-article pre { overflow-x: auto; padding: 1em; border-radius: 10px; background: rgba(0,0,0,.35); font-size: 13px; }

/* ---------------- Bank Speech ---------------- */
.sp-flag { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.sp-bank { display: inline-flex; align-items: center; gap: .35rem; padding: .08rem .5rem .08rem .35rem; border-radius: 7px; font-size: 11px; font-weight: 700; color: #fff; background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.sp-kind { padding: .05rem .45rem; border-radius: 6px; font-size: 10.5px; font-weight: 600; color: #c4cbdb; background: rgba(255,255,255,.06); }
.sp-lead { padding: .05rem .45rem; border-radius: 6px; font-size: 10.5px; font-weight: 600; color: #ffe2a8; background: rgba(255,210,154,.12); }
.sp-tone { display: inline-flex; align-items: center; gap: .3rem; padding: .08rem .55rem; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.sp-tone b { font-weight: 700; }
.sp-tone.is-hawk { color: #a8f2d2; background: rgba(60,207,152,.18); border: 1px solid rgba(60,207,152,.35); }
.sp-tone.is-dove { color: #bfe9ff; background: rgba(92,200,255,.16); border: 1px solid rgba(92,200,255,.35); }
.sp-tone.is-neutral { color: #dfe4ee; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.sp-tone.is-off { color: #a3adc4; background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.14); font-weight: 600; }
.sp-tone.is-wait { color: #d9cdff; background: rgba(177,140,255,.12); border: 1px solid rgba(177,140,255,.25); font-weight: 600; animation: sp-blink 1.6s ease-in-out infinite; }
@keyframes sp-blink { 50% { opacity: .55; } }

.sp-legend { display: flex; align-items: center; gap: .5rem; font-size: 11px; color: #a3adc4; }
.sp-legend i { width: 28px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #5cc8ff, #6e7a97, #3ccf98); }
.sp-legend .is-dove { color: #7fd6ff; } .sp-legend .is-hawk { color: #6fe3b6; }

.sp-gauge { display: block; width: 100%; text-align: left; padding: .95rem 1rem; border-radius: 1.1rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); transition: border-color .2s, background .2s, transform .2s; }
.sp-gauge:hover { border-color: rgba(111,227,182,.35); background: rgba(255,255,255,.05); transform: translateY(-1px); }
.sp-gauge.active { border-color: rgba(60,207,152,.7); background: rgba(60,207,152,.07); box-shadow: 0 0 24px -10px rgba(60,207,152,.7); }
.sp-gauge-v { font-size: 12px; font-weight: 700; white-space: nowrap; }
.sp-gauge-v.is-hawk { color: #6fe3b6; } .sp-gauge-v.is-dove { color: #7fd6ff; } .sp-gauge-v.is-neutral { color: #dfe4ee; }
.sp-trend { font-weight: 600; white-space: nowrap; }
.sp-trend.is-hawk { color: #6fe3b6; } .sp-trend.is-dove { color: #7fd6ff; }

.sp-meter { position: relative; height: 8px; border-radius: 99px; background: linear-gradient(90deg, rgba(92,200,255,.55), rgba(110,122,151,.35) 50%, rgba(60,207,152,.6)); }
.sp-meter.is-big { height: 12px; }
.sp-meter-mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: rgba(255,255,255,.35); }
.sp-meter b { position: absolute; top: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 99px; transform: translateY(-50%); background: #fff; border: 3px solid #0a0e1a; box-shadow: 0 0 0 2px currentColor, 0 0 14px currentColor; transition: left .8s cubic-bezier(.2,.8,.2,1); }
.sp-meter.is-big b { width: 20px; height: 20px; margin-left: -10px; }
.sp-meter b.is-hawk { color: #3ccf98; } .sp-meter b.is-dove { color: #5cc8ff; } .sp-meter b.is-neutral { color: #c4cbdb; }
.sp-meter-scale { display: flex; justify-content: space-between; margin-top: .4rem; font-size: 10.5px; color: #8692ad; }

.sp-tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.sp-tab { padding: .45rem 1rem; border-radius: 999px; font-size: 13px; font-weight: 600; color: #a3adc4; transition: background .2s, color .2s; white-space: nowrap; }
.sp-tab span { margin-left: .3rem; padding: 0 .4rem; border-radius: 99px; font-size: 11px; background: rgba(255,255,255,.07); }
.sp-tab:hover { color: #fff; }
.sp-tab.active { color: #04130d; background: #6fe3b6; }
.sp-tab.active span { background: rgba(4,19,13,.15); }

.sp-ev { display: flex; gap: 1rem; padding: .85rem .7rem; border-radius: 14px; border-top: 1px solid rgba(255,255,255,.04); transition: background .2s; }
.sp-ev:hover { background: rgba(255,255,255,.035); }
.sp-ev.is-done { opacity: .62; }
.sp-ev.is-live { background: linear-gradient(90deg, rgba(60,207,152,.12), transparent 70%); box-shadow: inset 3px 0 0 #3ccf98; }
.sp-ev-time { flex-shrink: 0; width: 4.6rem; font-size: 14px; font-weight: 600; color: #fff; }
.sp-st { display: inline-flex; align-items: center; gap: .3rem; margin-top: .2rem; font-size: 10.5px; font-weight: 600; color: #8ff0c9; white-space: nowrap; }
.sp-st.is-done { color: #8692ad; }
.sp-st.is-live { color: #3ccf98; }
.sp-st.is-live i { width: 6px; height: 6px; border-radius: 9px; background: #3ccf98; animation: live 2s infinite; }
.sp-ev-who { margin-top: .4rem; font-size: 14.5px; font-weight: 600; color: #fff; }
.sp-ev-who span { margin-left: .25rem; font-size: 12px; font-weight: 500; color: #a3adc4; }
.sp-ev-meta { margin-top: .2rem; font-size: 12.5px; color: #a3adc4; }
.sp-ev-act { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: .4rem; flex-shrink: 0; }
.sp-impact { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; padding: 0 .2rem; }
.sp-impact i { width: 4px; border-radius: 2px; background: rgba(255,255,255,.15); }
.sp-impact i:nth-child(1) { height: 5px; } .sp-impact i:nth-child(2) { height: 8px; } .sp-impact i:nth-child(3) { height: 12px; }
.sp-impact.is-1 i:nth-child(1) { background: #ffd29a; }
.sp-impact.is-2 i:nth-child(-n+2) { background: #ffb357; }
.sp-impact.is-3 i { background: #ff4f7b; }
.sp-btn { display: inline-flex; align-items: center; padding: .4rem .8rem; border-radius: 999px; font-size: 12px; font-weight: 600; color: #dfe4ee; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.sp-btn:hover { color: #fff; border-color: rgba(111,227,182,.5); background: rgba(111,227,182,.1); }
.sp-btn.is-live { color: #04130d; background: #3ccf98; border-color: #3ccf98; }

.sp-card { gap: .6rem; }
.sp-x-meta { font-size: 12px; color: #8692ad; }
.sp-verdict { margin-top: .9rem; padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.sp-verdict.is-hawk { background: linear-gradient(120deg, rgba(60,207,152,.13), rgba(255,255,255,.02)); border-color: rgba(60,207,152,.3); }
.sp-verdict.is-dove { background: linear-gradient(120deg, rgba(92,200,255,.13), rgba(255,255,255,.02)); border-color: rgba(92,200,255,.3); }
.sp-verdict-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a3adc4; }
.sp-verdict-v { margin-top: .15rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 600; color: #fff; }
.sp-verdict.is-hawk .sp-verdict-v { color: #8ff0c9; } .sp-verdict.is-dove .sp-verdict-v { color: #a8e2ff; }
.sp-verdict.is-off .sp-verdict-v { font-size: 1.2rem; color: #c4cbdb; }
.sp-quote { position: relative; padding: .75rem .95rem; border-radius: 12px; font-size: 13.5px; line-height: 1.6; font-style: italic; color: #e6eaf2; background: rgba(255,255,255,.035); border-left: 3px solid #8692ad; }
.sp-quote.is-hawk { border-left-color: #3ccf98; } .sp-quote.is-dove { border-left-color: #5cc8ff; }
.sp-quote-k { display: block; margin-bottom: .2rem; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a3adc4; }
.sp-quote.is-hawk .sp-quote-k { color: #6fe3b6; } .sp-quote.is-dove .sp-quote-k { color: #7fd6ff; }
.sp-themes { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sp-theme { padding: .7rem .85rem; border-radius: 12px; font-size: 12.5px; line-height: 1.55; color: #c4cbdb; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.sp-theme-k { margin-bottom: .2rem; font-size: 11px; font-weight: 700; color: #8ff0c9; }

.sp-spk { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem 0; border-top: 1px solid rgba(255,255,255,.05); transition: opacity .2s; }
.sp-spk:first-child { border-top: 0; padding-top: 0; }
.sp-spk:hover { opacity: .85; }

@media (max-width: 640px) {
  .sp-ev { flex-wrap: wrap; gap: .5rem .8rem; }
  .sp-ev-time { width: auto; display: flex; align-items: baseline; gap: .6rem; }
  .sp-ev-act { flex-direction: row; width: 100%; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .sp-tone.is-wait, .sp-st.is-live i { animation: none; } .sp-meter b { transition: none; } }
.sp-meter.is-empty { background: rgba(255,255,255,.07); }
@media (max-width: 640px) { .sp-gauge { padding: .8rem .8rem; } .sp-gauge-v { font-size: 11px; } }
@media (max-width: 640px) { .sp-ev > .min-w-0 { flex-basis: 100%; } }

/* ---------------- Subscription (Stripe Checkout) ---------------- */
.pay-msg { max-width: 56rem; margin: 1.25rem auto 0; padding: .8rem 1.1rem; border-radius: 14px; text-align: center; font-size: 14px; color: #dfe4ee; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.pay-msg.is-info { color: #d4fbe9; background: rgba(60,207,152,.1); border-color: rgba(60,207,152,.35); }
.pay-msg.is-error { color: #ffc4d1; background: rgba(255,79,123,.1); border-color: rgba(255,79,123,.35); }
[data-plan].is-loading { opacity: .8; cursor: progress; }
[data-plan]:disabled { cursor: progress; }
.pay-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border-radius: 999px; color: #ffd29a; background: rgba(255,179,87,.14); border: 1px solid rgba(255,179,87,.35); }
.pay-icon.is-ok { color: #04130d; background: #3ccf98; border-color: #3ccf98; box-shadow: 0 0 40px -6px rgba(60,207,152,.8); animation: pay-pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pay-pop { from { transform: scale(.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pay-icon.is-ok { animation: none; } }

/* ---------------- Weekly Recap ---------------- */
.wk-flag { width: 18px; height: 13px; border-radius: 3px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.wk-ccy { display: inline-flex; align-items: center; gap: .4rem; font-size: 12px; font-weight: 600; color: #e6e9f1; white-space: nowrap; }
.wk-theme .wk-ccy, .wk-ahead .wk-ccy, .wk-chip-ev .wk-ccy { padding: .12rem .45rem; border-radius: 999px; background: rgba(255,255,255,.05); font-size: 11px; }
.wk-up { color: #3ccf98; } .wk-down { color: #ff4f7b; } .wk-flat { color: #a3adc4; }
.wk-ai { display: inline-flex; align-items: center; padding: .05rem .4rem; border-radius: 6px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; color: #b18cff; background: rgba(177,140,255,.12); border: 1px solid rgba(177,140,255,.3); vertical-align: middle; }
.wk-select { height: 2.25rem; padding: 0 2rem 0 .85rem; border-radius: 999px; font-size: 13px; color: #e6e9f1; background: rgba(255,255,255,.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238692ad' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center; border: 1px solid rgba(255,255,255,.1); appearance: none; max-width: 100%; }
.wk-select:disabled { opacity: .6; }
.wk-select option { background: #0c1120; }
.wk-state { display: inline-flex; align-items: center; gap: .45rem; height: 2.25rem; padding: 0 .85rem; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid rgba(255,255,255,.08); }
.wk-state .wk-dot { width: 7px; height: 7px; border-radius: 999px; }
.wk-state.is-final { color: #d4fbe9; background: rgba(60,207,152,.1); border-color: rgba(60,207,152,.35); }
.wk-state.is-final .wk-dot { background: #3ccf98; }
.wk-state.is-live { color: #ffdcae; background: rgba(255,179,87,.08); border-color: rgba(255,179,87,.3); }
.wk-state.is-live .wk-dot { background: #ffb357; animation: wk-pulse 1.8s ease-in-out infinite; }
@keyframes wk-pulse { 50% { opacity: .35; } }
.wk-spinner { width: 42px; height: 42px; border-radius: 999px; border: 3px solid rgba(60,207,152,.18); border-top-color: #3ccf98; animation: wk-spin 1s linear infinite; }
@keyframes wk-spin { to { transform: rotate(360deg); } }
.wk-prose p { color: #c3cadb; line-height: 1.625; font-size: .875rem; }
.wk-prose p + p { margin-top: 1rem; }
.wk-theme { padding: 1rem; border-radius: 1.1rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.05); }
.wk-num { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 9px; font-size: 12px; font-weight: 700; color: #04130d; background: linear-gradient(135deg, #8ff0c9, #3ccf98); }
.wk-str-row { display: flex; align-items: center; gap: .75rem; }
.wk-bar { position: relative; flex: 1; height: 8px; border-radius: 999px; background: rgba(255,255,255,.04); overflow: hidden; }
.wk-bar-mid { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: rgba(255,255,255,.22); }
.wk-bar-fill { position: absolute; top: 0; bottom: 0; border-radius: 999px; }
.wk-spark { width: 90px; flex-shrink: 0; }
.wk-ccy-card { display: flex; flex-direction: column; padding: 1.1rem; border-radius: 1.4rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
.wk-ccy-stats { margin-top: auto; padding-top: .85rem; display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: 11px; color: #8692ad; }
.wk-ccy-card p + .wk-ccy-stats { border-top: 1px solid rgba(255,255,255,.05); margin-top: .9rem; }
.wk-ccy-stats b { font-weight: 600; color: #e6e9f1; }
.wk-ccy-stats b.wk-up { color: #3ccf98; } .wk-ccy-stats b.wk-down { color: #ff4f7b; }
.wk-bias, .wk-pill { display: inline-flex; align-items: center; padding: .12rem .5rem; border-radius: 999px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.wk-bias { margin-top: .3rem; }
.wk-bull { color: #a8f2d2; background: rgba(60,207,152,.12); }
.wk-bear { color: #ffb3c4; background: rgba(255,79,123,.12); }
.wk-neutral { color: #c3cadb; background: rgba(255,255,255,.06); }
.wk-hawk { color: #ffcf96; background: rgba(255,179,87,.13); }
.wk-dove { color: #a9dcff; background: rgba(92,200,255,.13); }
.wk-table-wrap { overflow-x: auto; margin: 0 -.25rem; }
.wk-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.wk-table th { padding: .55rem .6rem; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6e7a97; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); white-space: nowrap; }
.wk-table td { padding: .7rem .6rem; border-bottom: 1px solid rgba(255,255,255,.04); vertical-align: middle; }
.wk-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.wk-imp { display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: #ff4f7b; margin-left: .3rem; vertical-align: middle; }
.wk-chip-ev { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .45rem .75rem; border-radius: .9rem; font-size: 12px; color: #e6e9f1; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.wk-note { padding: 1rem 1.1rem; border-radius: 1.1rem; background: rgba(177,140,255,.04); border: 1px solid rgba(177,140,255,.12); }
.wk-cot { padding: .9rem 1rem; border-radius: 1.1rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.05); }
.wk-news { display: block; padding: .9rem 0; }
.wk-ahead { display: flex; gap: 1rem; padding: .9rem 1rem; border-radius: 1.1rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.05); }
.wk-when { flex-shrink: 0; width: 5.5rem; font-size: 12px; font-weight: 600; color: #8ff0c9; padding-top: .1rem; }
.wk-risk-dot { flex-shrink: 0; width: 8px; height: 8px; margin-top: .45rem; border-radius: 3px; background: #ffb357; transform: rotate(45deg); }
.wk-sources { list-style: decimal; padding-left: 1.2rem; display: grid; gap: .3rem; font-size: 12px; }
.wk-sources a { color: #a3adc4; word-break: break-word; }
.wk-sources a:hover { color: #8ff0c9; }
@media (max-width: 640px) { .wk-when { width: 4.2rem; } .wk-str-row { gap: .5rem; } }

/* print / PDF: the report alone, in its dark theme */
@media print {
  @page { size: A4; margin: 12mm; }
  html:not(:has(body[data-page="weekly"])), body:not([data-page="weekly"]) { background: #080b14 !important; }
  html, body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body[data-layout="terminal"] { padding-left: 0 !important; }
  #nav, #sidebar, #side-backdrop, header, #footer, .ambient, .wk-controls .chip, .wk-select, a.chip { display: none !important; }
  main { padding-top: 0 !important; max-width: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .glass, .glass-strong { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #0f1524 !important; box-shadow: none !important; }
  .wk-section, .wk-ccy-card, .wk-ahead, .wk-theme, .wk-note, tr { break-inside: avoid; }
  .wk-table-wrap { overflow: visible; }
  .wk-table { min-width: 0; }
  .wk-state.is-live .wk-dot { animation: none; }
}
.wk-preview { color: #ffdcae; background: rgba(255,179,87,.07); border: 1px dashed rgba(255,179,87,.35); }
@media print { .wk-preview { display: none !important; } }

/* Weekly Recap — report structure: numbered sections, contents, masthead */
.wk-secnum { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.1rem; padding: 0 .3rem; border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #04130d; background: #6fe3b6; }
.wk-sub { margin-bottom: .85rem; font-family: Inter, system-ui, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8692ad; }
.wk-toc { position: sticky; top: 4.5rem; z-index: 20; margin: 0 -.25rem; }
@media (min-width: 1024px) { .wk-toc { top: .75rem; } }
.wk-toc-in { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding: .35rem; border-radius: 999px; background: rgba(8,11,20,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.07); box-shadow: 0 10px 30px -12px rgba(0,0,0,.7); }
.wk-toc-in::-webkit-scrollbar { display: none; }
.wk-toc a { display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0; padding: .4rem .8rem; border-radius: 999px; font-size: 12px; font-weight: 500; color: #a3adc4; white-space: nowrap; transition: color .2s, background .2s; }
.wk-toc a .num { font-size: 10px; color: #6e7a97; }
.wk-toc a:hover { color: #fff; }
.wk-toc a.active { color: #d4fbe9; background: rgba(60,207,152,.14); }
.wk-toc a.active .num { color: #6fe3b6; }
.wk-section, #wk-annexe { scroll-margin-top: 8rem; }
.wk-takeaways { background: rgba(255,255,255,.025); border-top: 1px solid rgba(255,255,255,.06); }
@media (min-width: 1024px) { .wk-takeaways { border-top: 0; border-left: 1px solid rgba(255,255,255,.06); } }
.wk-takeaways .wk-num { width: 22px; height: 22px; border-radius: 7px; font-size: 11px; margin-top: .05rem; }
.wk-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.25rem; }
.wk-meta dt { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: 0 0 10px rgba(60,207,152,.45); }
.wk-meta dd { margin-top: .15rem; font-size: 12px; color: #fff; text-shadow: 0 0 12px rgba(60,207,152,.55); }
.wk-ccy-note { padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.05); }
.wk-outlook { padding: 1.1rem 1.25rem; border-radius: 1.1rem; background: rgba(60,207,152,.05); border: 1px solid rgba(60,207,152,.18); }
.wk-method-list { display: grid; gap: 1rem; }
.wk-method-list dt { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #a3adc4; }
.wk-method-list dd { margin-top: .25rem; }
@media print { .wk-toc { display: none !important; } .wk-takeaways { background: #121a2b !important; } }

/* ---------------- Language switch (FR / EN) ---------------- */
.lang-switch { display: inline-flex; align-items: center; padding: 2px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); font-size: 11px; font-weight: 600; letter-spacing: .04em; cursor: pointer; }
.lang-switch span { padding: .2rem .5rem; border-radius: 999px; color: #8692ad; transition: color .2s, background .2s; }
.lang-switch span.on { color: #04130d; background: #6fe3b6; }
.lang-switch:hover span:not(.on) { color: #fff; }
.lang-switch.is-small { font-size: 10px; }
.lang-switch.is-small span { padding: .12rem .4rem; }

/* ---------------- Settings ---------------- */
.st-field { display: grid; gap: .45rem; font-size: 13px; color: #c3cadb; }
.st-msg { margin-top: 1rem; }
.st-msg.is-ok { color: #8ff0c9; } .st-msg.is-err { color: #ffb3c4; }
.st-lang { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 1.1rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08); transition: border-color .2s, background .2s; }
.st-lang:hover { border-color: rgba(111,227,182,.4); }
.st-lang.active { border-color: rgba(60,207,152,.7); background: rgba(60,207,152,.08); }
.st-check { margin-left: auto; width: 18px; height: 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.2); }
.st-lang.active .st-check { border-color: #3ccf98; background: #3ccf98 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304130d' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.st-badge { display: inline-flex; padding: .15rem .6rem; border-radius: 999px; font-size: 11px; font-weight: 600; color: #c3cadb; background: rgba(255,255,255,.06); }
.st-badge.is-ok { color: #a8f2d2; background: rgba(60,207,152,.13); }
.st-badge.is-warn { color: #ffdcae; background: rgba(255,179,87,.13); }
.st-danger { border: 1px solid rgba(255,79,123,.22) !important; }
.st-danger .eyebrow { color: #ff8fa8; }
.st-danger-btn { display: inline-flex; align-items: center; padding: .7rem 1.2rem; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255,79,123,.85); transition: background .2s; }
.st-danger-btn:hover { background: #ff4f7b; }
.st-danger-btn:disabled { opacity: .6; cursor: wait; }
.sp-cycle { margin-top: .45rem; display: flex; flex-wrap: wrap; gap: .15rem .4rem; font-size: 10.5px; color: #6e7a97; }
.sp-cycle b { color: #a3adc4; font-weight: 600; }
/* Weekly Recap — markets board and yields table */
.wk-mk-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 4.75rem; align-items: center; gap: .75rem; padding: .45rem 0; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.05); }
.wk-mk-row:last-child { border-bottom: 0; }
.wk-table-y { min-width: 520px; }
.wk-table-y th.wk-th-group { color: #a3adc4; border-bottom: 1px solid rgba(255,255,255,.08); }
.wk-table-y thead tr:first-child th[rowspan] { vertical-align: bottom; }
.wk-table-y td:nth-child(3), .wk-table-y th:nth-child(2) { padding-right: 1.5rem; }
.wk-str-chart { position: relative; height: 340px; }
@media (max-width: 640px) { .wk-str-chart { height: 280px; } }
/* Weekly Recap — table cells on one line */
.wk-ccy-cell { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; line-height: 1; }
.wk-ccy-cell b { font-size: 12.5px; font-weight: 600; color: #fff; }
.wk-ccy-cell > span { font-size: 12px; color: #8692ad; }
.wk-macro { display: inline-grid; grid-template-columns: 2.1rem 2.1rem; gap: .35rem; justify-items: end; font-size: 12.5px; }
.wk-table-dash td, .wk-table-dash th { white-space: nowrap; }
.wk-table-dash td { padding-top: .8rem; padding-bottom: .8rem; }
.wk-table-dash .wk-pill { min-width: 4.8rem; justify-content: center; }
/* headers follow their column's alignment (the generic th rule is left-aligned) */
.wk-table th.text-right { text-align: right; }
.wk-table th.text-center { text-align: center; }
.wk-table-cal td { white-space: nowrap; }
.wk-table-cal td.wk-cal-ind { white-space: normal; min-width: 12rem; }
.wk-table-cal .wk-pill { min-width: 8.6rem; justify-content: center; }

/* Weekly Recap on paper / PDF: black on white, the brand on it */
.wk-print-head { display: none; }
@media print {
  @page weekly {
    size: A4; margin: 12mm 12mm 16mm; background: #fff;
    @bottom-left { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' width='13' height='13'%3E%3Crect x='1' y='1' width='38' height='38' rx='11' fill='%23fff' stroke='%23000' stroke-width='3'/%3E%3Cpath d='M10 28.5 20 11 30 28.5' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") "  Macro Accelerator · Weekly Recap"; font: 9px Inter, 'Segoe UI', sans-serif; color: #000; }
    @bottom-right { content: counter(page) " / " counter(pages); font: 9px Inter, 'Segoe UI', sans-serif; color: #000; }
  }
  html:has(body[data-page="weekly"]), body[data-page="weekly"] { background: #fff !important; color: #000 !important; }
  body[data-page="weekly"] { page: weekly; }
  body[data-page="weekly"] * {
    color: #000 !important; -webkit-text-fill-color: #000 !important; text-shadow: none !important; box-shadow: none !important;
    background-image: none !important; border-color: #aaa !important;
  }
  body[data-page="weekly"] *:not([style*="background"]) { background-color: transparent !important; }
  /* decorations drawn by ::before / ::after (card gradients, page glow) stay off paper */
  body[data-page="weekly"]::before, body[data-page="weekly"]::after, body[data-page="weekly"] *::before, body[data-page="weekly"] *::after { background: none !important; box-shadow: none !important; }
  /* bars and marks coloured by the page keep their shape, in grey */
  body[data-page="weekly"] [style*="background"], body[data-page="weekly"] img { filter: grayscale(1); }
  /* charts are drawn for a dark page: light lines and labels become dark */
  body[data-page="weekly"] canvas { filter: invert(1) grayscale(1); }
  body[data-page="weekly"] main svg { filter: grayscale(1) brightness(.45); }
  body[data-page="weekly"] .glass, body[data-page="weekly"] .glass-strong { background: #fff !important; border: 1px solid #aaa !important; }
  body[data-page="weekly"] .wk-takeaways { background: #fff !important; border-color: #aaa !important; }
  body[data-page="weekly"] .wk-print-head { display: flex !important; align-items: center; gap: 12px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid #000 !important; }
  body[data-page="weekly"] .wk-print-name { font: 700 18px/1.15 'Space Grotesk', 'Segoe UI', sans-serif; letter-spacing: .14em; }
  body[data-page="weekly"] .wk-print-sub { margin-top: 2px; font: 500 9px/1 Consolas, monospace; letter-spacing: .32em; }
  body[data-page="weekly"] .wk-table-cal { font-size: 11px; }
  body[data-page="weekly"] .wk-table-cal th, body[data-page="weekly"] .wk-table-cal td { padding-left: .3rem !important; padding-right: .3rem !important; }
  body[data-page="weekly"] .wk-table-cal .wk-pill { min-width: 0 !important; padding-left: 0 !important; padding-right: 0 !important; white-space: normal !important; }
  body[data-page="weekly"] .wk-imp { background-color: #000 !important; }
  body[data-page="weekly"] .wk-table-dash th, body[data-page="weekly"] .wk-table-dash td { padding-left: .3rem !important; padding-right: .3rem !important; font-size: 10.5px !important; }
  body[data-page="weekly"] .wk-table-dash .wk-pill { min-width: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
}

/* Weekly Recap: the AI's notes, always beside the figures they speak about */
.wk-analysis { margin-top: 1.5rem; padding: 1rem 1.2rem; border-radius: 1.1rem; background: rgba(177,140,255,.05); border: 1px solid rgba(177,140,255,.16); border-left: 3px solid rgba(177,140,255,.55); }
.wk-ccy-note .wk-analysis { margin-top: .75rem; padding: .7rem .9rem; }
.wk-analysis-h { display: flex; align-items: center; gap: .45rem; margin-bottom: .45rem; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c9b8ff; }
.wk-analysis-b { font-size: 13.5px; line-height: 1.65; color: #dfe4ee; }
.wk-analysis-b p + p { margin-top: .6em; }
.wk-ref { font-size: .78em; font-weight: 600; color: #8ff0c9; vertical-align: super; line-height: 0; }
.wk-ref:hover { text-decoration: underline; }
.wk-stake { margin-top: .3rem; font-size: 12px; line-height: 1.5; color: #a3adc4; white-space: normal; }
.wk-table-cal .wk-cal-ind { min-width: 14rem; }
.wk-dossier + .wk-dossier { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.06); }
.wk-sources li:target a { color: #8ff0c9; }
.wk-cover { display: none; }

@media print {
  /* cover page */
  body[data-page="weekly"] .wk-print-head, body[data-page="weekly"] main > section.reveal { display: none !important; }
  body[data-page="weekly"] .wk-cover { display: flex !important; flex-direction: column; min-height: 318mm; break-after: page; }
  body[data-page="weekly"] .wk-cover svg { filter: none !important; }
  /* the cover already carries the headline */
  body[data-page="weekly"] .wk-hero > .relative { display: block !important; }
  body[data-page="weekly"] .wk-hero > .relative > div:first-child { display: none !important; }
  body[data-page="weekly"] .wk-section > div:first-child { break-inside: avoid; break-after: avoid; }
  body[data-page="weekly"] .wk-cover-brand { display: flex; align-items: center; gap: 14px; padding-bottom: 12mm; border-bottom: 2px solid #000 !important; }
  body[data-page="weekly"] .wk-cover-mid { margin-top: 26mm; }
  body[data-page="weekly"] .wk-cover-kicker { font: 700 40px/1.05 'Space Grotesk', 'Segoe UI', sans-serif; letter-spacing: -.01em; }
  body[data-page="weekly"] .wk-cover-edition { margin-top: 8px; font-size: 13px; }
  body[data-page="weekly"] .wk-cover-title { margin-top: 14mm; font: 600 22px/1.25 'Space Grotesk', 'Segoe UI', sans-serif; }
  body[data-page="weekly"] .wk-cover-lead { margin-top: 10px; font-size: 13.5px; line-height: 1.6; }
  body[data-page="weekly"] .wk-cover-toc { margin-top: 14mm; }
  body[data-page="weekly"] .wk-cover-h { padding-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid #000 !important; }
  body[data-page="weekly"] .wk-cover-toc ol { columns: 2; column-gap: 12mm; margin-top: 8px; }
  body[data-page="weekly"] .wk-cover-toc li { display: flex; gap: 10px; padding: 4px 0; font-size: 13px; break-inside: avoid; }
  body[data-page="weekly"] .wk-cover-toc li span { font-weight: 600; }
  body[data-page="weekly"] .wk-cover-note { margin-top: auto; padding-top: 8px; font-size: 10.5px; line-height: 1.5; border-top: 1px solid #aaa !important; }
  /* a long section runs over its pages; what must stay whole stays whole */
  body[data-page="weekly"] .wk-section { break-inside: auto; }
  body[data-page="weekly"] .wk-section h2, body[data-page="weekly"] .wk-sub, body[data-page="weekly"] .wk-analysis-h { break-after: avoid; }
  body[data-page="weekly"] .wk-analysis, body[data-page="weekly"] .wk-dossier { break-inside: avoid; }
  body[data-page="weekly"] .wk-analysis { border: 1px solid #aaa !important; border-left: 3px solid #000 !important; }
  body[data-page="weekly"] .wk-ai { border: 1px solid #000 !important; }
  body[data-page="weekly"] .geo-dot { background-color: #000 !important; }
  body[data-page="weekly"] .wk-table-dash { font-size: 10.5px; }
  body[data-page="weekly"] .wk-table-dash td, body[data-page="weekly"] .wk-table-dash th { white-space: normal !important; }
  body[data-page="weekly"] .wk-table-opt th, body[data-page="weekly"] .wk-table-opt td { padding-left: .3rem !important; padding-right: .3rem !important; }
  body[data-page="weekly"] .wk-toc, body[data-page="weekly"] .wk-section a.chip { display: none !important; }
}

/* News detail: what banks expect for a release */
.nw-fc-name { margin-top: .5rem; font-size: 13px; font-weight: 600; color: #fff; }
.nw-fc-table { width: 100%; margin-top: .3rem; font-size: 13.5px; border-collapse: collapse; }
.nw-fc-table td { padding: .32rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.nw-fc-table td:last-child { text-align: right; color: #fff; font-weight: 600; white-space: nowrap; padding-left: 1rem; }
.nw-fc-consensus td { font-weight: 700; color: #fff; }
.nw-fc-resultat td { font-weight: 700; color: #8ff0c9; }
.nw-fc-resultat td:last-child { color: #8ff0c9; }
.nw-fc-note { margin-top: .55rem; font-size: 11px; color: #8692ad; }
.nw-fc-src { padding-left: 1rem !important; font-size: 11.5px; color: #8692ad; white-space: nowrap; }
.nw-fc-src a { color: #8692ad; }
.nw-fc-src a:hover { color: #8ff0c9; }
.cal-detail .nw-fc { max-width: 560px; }

/* Bank analyses */
.bk-card { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.bk-card:first-child { padding-top: 0; }
.bk-card:last-child { border-bottom: 0; padding-bottom: 0; }
.bk-pill { display: inline-flex; align-items: center; gap: .3rem; padding: .08rem .5rem; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.bk-pill.is-up { color: #8ff0c9; background: rgba(60,207,152,.13); }
.bk-pill.is-down { color: #ffb3c4; background: rgba(255,79,123,.13); }
.bk-pill.is-flat { color: #c3cadb; background: rgba(255,255,255,.07); }
.bk-these { margin-top: .35rem; font-size: 13.5px; line-height: 1.6; color: #c3cadb; }
.bk-card { cursor: pointer; }
.bk-card:focus-visible { outline: 2px solid rgba(111,227,182,.6); outline-offset: 2px; border-radius: 10px; }
.bk-card:not(.open):hover .nw-go { opacity: 1; }
.bk-card.open { cursor: default; margin: .5rem 0; padding: 1.2rem 1.1rem 1.3rem !important; border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid rgba(111,227,182,.22); }
.bk-card.open .nw-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; line-height: 1.3; cursor: pointer; }
.bk-card.open .nw-go { opacity: 1; cursor: pointer; align-self: flex-start; }
.bk-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-top: 1.1rem; padding-top: .85rem; border-top: 1px solid rgba(255,255,255,.08); font-size: 11.5px; color: #8692ad; }
.bk-src { flex-shrink: 0; color: #a3adc4; text-decoration: underline; text-underline-offset: 2px; }
.bk-src:hover { color: #8ff0c9; }

/* Skew & Liquidité */
.sl-tag { margin-left: .35rem; padding: .08rem .45rem; border-radius: 6px; font-family: Inter, sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: #8ff0c9; background: rgba(60,207,152,.12); vertical-align: middle; }
.sl-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; color: #c3cadb; }
.sl-table th { padding: .5rem .75rem .5rem 0; text-align: left; font-size: 11px; font-weight: 500; color: #8692ad; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.1); }
.sl-table td { padding: .6rem .75rem .6rem 0; border-bottom: 1px solid rgba(255,255,255,.06); white-space: nowrap; }
.sl-table tr:last-child td { border-bottom: 0; }
.sl-off td { color: #8692ad; }
.sl-bar-col { width: 110px; }
.sl-bar { position: relative; display: block; width: 100px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.06); }
.sl-bar::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: rgba(255,255,255,.3); }
.sl-bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.sl-bar i.is-up { background: #3ccf98; }
.sl-bar i.is-down { background: #ff4f7b; }
.sl-q-correcte { color: #8ff0c9; }
.sl-q-faible { color: #ffb357; }
.sl-lvl { display: inline-block; padding: .08rem .55rem; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.sl-lvl.is-faible { color: #ffb3c4; background: rgba(255,79,123,.13); }
.sl-lvl.is-normale { color: #c3cadb; background: rgba(255,255,255,.07); }
.sl-lvl.is-elevee { color: #8ff0c9; background: rgba(60,207,152,.13); }
.sl-closed { padding: .55rem .8rem; border-radius: 10px; font-size: 12.5px; color: #ffd29a; background: rgba(255,179,87,.08); border: 1px solid rgba(255,179,87,.2); }

/* Géopolitique */
.geo-map { position: relative; width: 100%; aspect-ratio: 2 / 1; min-height: 190px; border-radius: 1.5rem; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, rgba(92,200,255,.05), transparent 70%); }
.geo-map.is-off { display: none; }
.geo-map canvas { position: absolute; inset: 0; display: block; }
.geo-markers { position: absolute; inset: 0; }
/* the touch target stays comfortable however small the visible dot is */
.geo-marker { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--geo-c); }
.geo-marker::before { content: ''; position: absolute; left: 50%; top: 50%; width: var(--size, 12px); height: var(--size, 12px); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, currentColor 0 26%, color-mix(in srgb, currentColor 32%, transparent) 30% 100%); transition: transform .15s; }
.geo-marker::after { content: ''; position: absolute; left: 50%; top: 50%; width: var(--size, 12px); height: var(--size, 12px); margin: calc(var(--size, 12px) / -2) 0 0 calc(var(--size, 12px) / -2); border-radius: 50%; border: 1px solid currentColor; animation: geo-pulse 2.6s ease-out infinite; }
.geo-marker:hover::before, .geo-marker.is-selected::before { transform: translate(-50%, -50%) scale(1.3); }
.geo-marker.is-selected { outline: 2px solid #fff; outline-offset: -4px; }
.geo-marker:focus-visible { outline: 2px solid #6fe3b6; outline-offset: -2px; }
.is-critique { --geo-c: #ff4f7b; }
.is-elevee { --geo-c: #ffb357; }
.is-moderee { --geo-c: #5cc8ff; }
@keyframes geo-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .geo-marker::after { animation: none; opacity: 0; } }
.geo-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; padding: .75rem .5rem .25rem; font-size: 11.5px; color: #c3cadb; }
.geo-legend > span { display: inline-flex; align-items: center; gap: .4rem; }
.geo-legend-note { margin-left: auto; color: #8692ad; }
.geo-dot { display: inline-block; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--geo-c); }
.geo-sev { display: inline-flex; align-items: center; gap: .35rem; font-size: 11px; font-weight: 600; color: var(--geo-c); }
.geo-lead { font-weight: 600; color: #f1f4f9; }
.geo-sources { justify-content: flex-start; }
.geo-sources-h { font-weight: 600; color: #c3cadb; }
@media (max-width: 640px) { .geo-legend-note { margin-left: 0; width: 100%; } }
.geo-map-wrap { position: relative; }
.geo-markers { pointer-events: none; }
.geo-marker { pointer-events: auto; }
/* country name under the pointer */
.geo-tip { position: absolute; left: 0; top: 0; z-index: 3; display: flex; flex-direction: column; gap: .1rem; max-width: 220px; padding: .4rem .65rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(8,12,22,.93); box-shadow: 0 8px 24px rgba(0,0,0,.45); font-size: 11.5px; color: #a3adc4; pointer-events: none; opacity: 0; transform: translateY(4px) scale(.97); transition: opacity .14s, transform .14s; }
.geo-tip.is-on { opacity: 1; transform: none; }
.geo-tip strong { font-size: 13px; font-weight: 600; color: #fff; }
.geo-tip .is-critique, .geo-tip .is-elevee, .geo-tip .is-moderee { color: var(--geo-c); }
/* radar sweep over the whole map when the radar button opens */
.geo-map.is-sweeping::after { content: ''; position: absolute; left: 50%; top: 50%; z-index: 2; width: 150%; aspect-ratio: 1; margin-left: -75%; transform-origin: center; translate: 0 -50%; pointer-events: none; border-radius: 50%; background: conic-gradient(from 0deg, rgba(111,227,182,0) 0 72%, rgba(111,227,182,.02) 86%, rgba(111,227,182,.16) 100%); animation: geo-sweep 2.4s linear 1 forwards; }
@keyframes geo-sweep { from { transform: rotate(0); opacity: 1; } 85% { opacity: 1; } to { transform: rotate(360deg); opacity: 0; } }
/* radar button */
#geo-radar { position: absolute; top: .6rem; right: .6rem; z-index: 4; display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.geo-radar-btn { --r: #6fe3b6; display: inline-flex; align-items: center; gap: .5rem; padding: .28rem .7rem .28rem .3rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--r) 35%, transparent); background: rgba(8,12,22,.82); color: #e6e9f1; font-size: 11.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.geo-radar-btn:hover { border-color: var(--r); background: rgba(14,20,34,.95); }
.geo-radar-btn:focus-visible { outline: 2px solid #6fe3b6; outline-offset: 2px; }
.geo-radar-btn.is-busy { --r: #ffb357; }
.geo-radar-btn.is-off { --r: #8692ad; }
.geo-radar-screen { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; border: 1px solid color-mix(in srgb, var(--r) 55%, transparent); background: radial-gradient(circle, transparent 0 27%, color-mix(in srgb, var(--r) 28%, transparent) 28% 30%, transparent 31% 60%, color-mix(in srgb, var(--r) 28%, transparent) 61% 63%, transparent 64%), linear-gradient(color-mix(in srgb, var(--r) 18%, transparent), color-mix(in srgb, var(--r) 18%, transparent)) center / 100% 1px no-repeat, linear-gradient(color-mix(in srgb, var(--r) 18%, transparent), color-mix(in srgb, var(--r) 18%, transparent)) center / 1px 100% no-repeat, #06100d; }
.geo-radar-screen i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, color-mix(in srgb, var(--r) 20%, transparent) 84%, var(--r) 100%); animation: geo-spin 2.6s linear infinite; }
.geo-radar-screen::after { content: ''; position: absolute; left: 62%; top: 30%; width: 3px; height: 3px; border-radius: 50%; background: var(--r); animation: geo-blip 2.6s linear infinite; }
.is-busy .geo-radar-screen i { animation-duration: 6s; }
.is-off .geo-radar-screen i, .is-off .geo-radar-screen::after { animation: none; opacity: 0; }
@keyframes geo-spin { to { transform: rotate(360deg); } }
@keyframes geo-blip { 0%, 12% { opacity: 1; } 55%, 100% { opacity: .1; } }
@media (prefers-reduced-motion: reduce) { .geo-radar-screen i, .geo-radar-screen::after { animation: none; } .geo-map.is-sweeping::after { display: none; } }
/* on a phone the map is small: the radar alone, its label still read by screen readers */
@media (max-width: 640px) { #geo-radar { top: .35rem; right: .35rem; } .geo-radar-btn { padding: .2rem; } .geo-radar-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
.geo-radar-pop { width: 250px; max-width: calc(100vw - 4rem); padding: .75rem .9rem; border-radius: 14px; border: 1px solid rgba(111,227,182,.22); background: rgba(8,12,22,.96); box-shadow: 0 14px 36px rgba(0,0,0,.5); font-size: 12px; color: #a3adc4; }
.geo-radar-h { margin-bottom: .45rem; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8ff0c9; }
.geo-radar-row { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; }
.geo-radar-row b { font-weight: 600; color: #fff; white-space: nowrap; }
/* country panel */
.geo-close { width: 30px; height: 30px; border-radius: 50%; font-size: 18px; line-height: 1; color: #a3adc4; background: rgba(255,255,255,.06); transition: background .2s, color .2s; }
.geo-close:hover { color: #fff; background: rgba(255,255,255,.12); }
.geo-close:focus-visible { outline: 2px solid #6fe3b6; }
.geo-stats { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: .9rem; }
.geo-stats > div { display: flex; flex-direction: column; gap: .15rem; }
.geo-stats b { font-size: 1.25rem; font-weight: 600; color: #fff; }
.geo-stats span:not(.nw-ccy) { font-size: 11px; color: #8692ad; }
.geo-ccys { display: flex; flex-wrap: wrap; gap: .3rem; min-height: 1.9rem; align-items: center; }
.geo-h { margin-top: 1.2rem; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8ff0c9; }
.geo-wires { margin-top: .4rem; max-height: 340px; overflow-y: auto; }
.geo-wires li { display: flex; flex-direction: column; gap: .15rem; padding: .55rem .5rem .55rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.geo-wires a { font-size: 13.5px; line-height: 1.4; color: #e6e9f1; }
.geo-wires a:hover { color: #8ff0c9; text-decoration: underline; text-underline-offset: 2px; }
.geo-wires li > span { font-size: 11px; color: #8692ad; }
.geo-note { margin-top: .6rem; font-size: 11px; color: #8692ad; }

/* ---------- Daily Recap (daily.html) ---------- */
.dy-tile { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; padding: .9rem 1rem; border-radius: 1.1rem; text-align: left; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); transition: border-color .2s, background .2s; }
.dy-tile:hover { border-color: rgba(111,227,182,.35); }
.dy-tile.is-on { background: rgba(60,207,152,.08); border-color: rgba(60,207,152,.5); }
.dy-tile-n { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 1.9rem; font-weight: 600; line-height: 1; color: #fff; }
.dy-tile-l { font-size: 11.5px; color: #8692ad; }
.dy-tile[data-tile="flip"] .dy-tile-n { color: #ffd29a; }
.dy-tile[data-tile="up"] .dy-tile-n { color: #8ff0c9; }
.dy-tile[data-tile="down"] .dy-tile-n { color: #ffc4d1; }
.dy-ccy { display: flex; flex-direction: column; padding: 1rem; border-radius: 1.3rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
.dy-bullets li { position: relative; padding-left: 1rem; }
.dy-bullets li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 999px; background: #3ccf98; }
.bs-marker.dy-marker-old { background: rgba(255,255,255,.35); box-shadow: 0 0 0 2px #0b111c; height: 14px; top: -3px; }
.dy-factors td { border-top: 1px solid rgba(255,255,255,.04); }
.dy-factors tfoot td { border-top: 1px solid rgba(255,255,255,.12); }
.dy-impact { display: inline-block; width: 6px; height: 6px; margin-left: .3rem; border-radius: 999px; background: #ff4f7b; vertical-align: middle; }
.dy-prose { font-size: 15px; line-height: 1.7; color: #c3cadb; }
.dy-prose > * + * { margin-top: .8rem; }
.dy-prose p strong, .dy-prose .text-white { color: #fff; }
.dy-ai { display: inline-flex; align-items: center; height: 17px; padding: 0 .4rem; border-radius: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; color: #d9c8ff; background: rgba(177,140,255,.16); border: 1px solid rgba(177,140,255,.3); vertical-align: middle; cursor: help; }
.dy-ref { font-size: 10px; color: #8ff0c9; margin-left: 1px; }
.dy-paircard { cursor: pointer; padding: 1rem 1.1rem; border-radius: 1.3rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); transition: border-color .2s, background .2s; }
.dy-paircard:hover { border-color: rgba(111,227,182,.4); background: rgba(60,207,152,.04); }
.dy-note { padding: 1rem 1.1rem; border-radius: 1.1rem; background: rgba(177,140,255,.04); border: 1px solid rgba(177,140,255,.12); }
.dy-feed li { padding-left: .9rem; border-left: 2px solid rgba(255,255,255,.08); }
.dy-time { display: inline-block; min-width: 2.9rem; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 12px; color: #8692ad; }
.dy-more { border-radius: 1rem; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); padding: .75rem 1rem; }
.dy-more > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .5rem; font-size: 13px; font-weight: 500; color: #a3adc4; }
.dy-more > summary::-webkit-details-marker { display: none; }
.dy-more > summary::before { content: "▸"; color: #3ccf98; transition: transform .2s; }
.dy-more[open] > summary::before { transform: rotate(90deg); }
.dy-more > summary:hover { color: #fff; }
.dy-perf { padding: .7rem .8rem; border-radius: 1rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); min-width: 0; }
.dy-perf svg { display: block; }
.dy-news { padding: 1rem 1.1rem; border-radius: 1.2rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
.dy-news:has(.is-amber) { border-color: rgba(255,179,87,.25); background: rgba(255,179,87,.035); }
.dy-block { padding: 1.1rem 1.2rem; border-radius: 1.3rem; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); }
.dy-key { padding: .9rem 1rem; border-radius: 1.2rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); min-width: 0; }
.dy-key svg { display: block; }
.dy-session { padding: .9rem 1rem; border-radius: 1.2rem; background: rgba(92,200,255,.035); border: 1px solid rgba(92,200,255,.12); }
.dy-session.is-pending { background: rgba(255,255,255,.015); border-color: rgba(255,255,255,.05); }
.dy-gauge { position: relative; padding-top: 1.6rem; }
.dy-gauge-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; opacity: .85; }
.dy-gauge-bar span { display: block; height: 100%; }
.dy-gauge-mk { position: absolute; top: 1.15rem; width: 4px; height: 20px; margin-left: -2px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 2px #0b111c, 0 0 12px rgba(255,255,255,.5); }
.dy-gauge-mk b { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font: 600 12px 'Space Grotesk', Inter, sans-serif; color: #fff; }
.dy-gauge-mk.is-old { background: rgba(255,255,255,.4); box-shadow: 0 0 0 2px #0b111c; }
.dy-gauge-mk.is-old b { bottom: auto; top: 24px; color: #8692ad; font-weight: 500; }

/* ---------- Crypto (crypto.html) ---------- */
.cr-kpi { padding: 1rem 1.1rem; border-radius: 1.3rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); min-width: 0; }
.cr-kpi svg, .cr-coin svg { display: block; }
.cr-coin { padding: .95rem 1rem; border-radius: 1.3rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); min-width: 0; transition: border-color .2s; }
.cr-coin:hover { border-color: rgba(111,227,182,.35); }
.cr-logo { width: 26px; height: 26px; border-radius: 999px; flex-shrink: 0; object-fit: cover; background: rgba(255,255,255,.06); }
.cr-logo-txt { display: inline-grid; place-items: center; font-size: 9px; font-weight: 700; color: #c3cadb; }
.cr-row { display: flex; align-items: center; gap: .6rem; padding: .45rem .55rem; border-radius: .8rem; }
.cr-row:hover { background: rgba(255,255,255,.03); }
.cr-row .cr-logo { width: 20px; height: 20px; }
.cr-fng { position: relative; height: 6px; border-radius: 999px; background: linear-gradient(90deg, #ff4f7b, #ffb357 35%, #b18cff 50%, #5fe0b8 70%, #3ee6b0); }
.cr-fng span { position: absolute; top: -4px; width: 4px; height: 14px; margin-left: -2px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 2px #0b111c; }
.cr-ls { height: 5px; border-radius: 999px; background: rgba(255,79,123,.55); overflow: hidden; }
.cr-ls span { display: block; height: 100%; background: #3ccf98; }
.cr-news { padding: .9rem 1rem; border-radius: 1.2rem; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); }
.cr-tag { padding: .05rem .4rem; border-radius: 5px; font-size: 10px; font-weight: 600; color: #a8f2d2; background: rgba(60,207,152,.1); }

/* ---------- Comparateur (compare.html) ---------- */
.cp-dot { display: inline-block; width: 10px; height: 10px; border-radius: 999px; flex-shrink: 0; }
.cp-dot.cp-a { background: #ff4f7b; } .cp-dot.cp-b { background: #ffb357; }
.cp-swap { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: 0 auto; border-radius: 999px; color: #a3adc4; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: color .2s, border-color .2s, transform .3s; }
.cp-swap:hover { color: #fff; border-color: rgba(111,227,182,.5); transform: rotate(180deg); }
.cp-stat { padding: .95rem 1.05rem; border-radius: 1.3rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); min-width: 0; }
body[data-page="compare"] #content { transition: opacity .2s; }

/* ---------- Macro Footprint (footprint.html) ---------- */
.fp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(4,6,11,.9); }
.fp-dot.fp-dot-lg { width: 12px; height: 12px; }
.fp-list { max-height: 560px; overflow-y: auto; padding-right: .25rem; }
.fp-row { width: 100%; display: flex; align-items: center; gap: .7rem; padding: .55rem .65rem; border-radius: .9rem; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.fp-row:hover { background: rgba(255,255,255,.03); }
.fp-row.is-sel { background: rgba(106,168,255,.08); border-color: rgba(106,168,255,.3); }
.fp-reac { padding: .6rem .75rem; border-radius: .9rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
body[data-page="footprint"] #content { transition: opacity .2s; }

/* ---------- Macro Map: the macro brief ---------- */
.mb-row { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: .9rem; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); }
.mb-dot { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; }
.mb-box { padding: .9rem 1rem; border-radius: 1.1rem; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); }
.mb-box.is-up { border-color: rgba(60,207,152,.22); background: rgba(60,207,152,.04); }
.mb-box.is-down { border-color: rgba(255,79,123,.22); background: rgba(255,79,123,.04); }

/* ---------- COT Report: the AI's reading ---------- */
.br-card { padding: 1.1rem 1.2rem; border-radius: 1.3rem; background: rgba(177,140,255,.035); border: 1px solid rgba(177,140,255,.14); }

/* ---------- Statistiques (stats.html) ---------- */
.st-meter { display: block; height: 6px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.st-meter > span { display: block; height: 100%; border-radius: 999px; }
.st-pct { padding: .55rem .4rem; border-radius: .9rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
.st-prob { display: flex; align-items: center; gap: .5rem; padding: .55rem .75rem; border-radius: .9rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
.st-note { padding: .9rem 1.05rem; border-radius: 1.1rem; font-size: 14px; line-height: 1.6; color: #c3cadb; background: rgba(255,179,87,.05); border: 1px solid rgba(255,179,87,.2); }
body[data-page="stats"] #content { transition: opacity .2s; }

/* ---- wide tables on a phone: the box scrolls sideways; a fade on the right says so until it has been scrolled (core.js MV.markScrollables) ---- */
.overflow-x-auto { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; -webkit-overflow-scrolling: touch; }
.overflow-x-auto.is-scrollable { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), rgba(0,0,0,.12)); mask-image: linear-gradient(90deg, #000 calc(100% - 64px), rgba(0,0,0,.12)); }

/* ---- full screen for charts (core.js MV.addFullscreen) ---- */
.fs-btn { position: absolute; top: 6px; right: 6px; z-index: 5; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; color: #c3cadb; background: rgba(11,17,28,.72); border: 1px solid rgba(255,255,255,.1); opacity: .55; transition: opacity .15s, color .15s, border-color .15s; cursor: pointer; }
.fs-wrap:hover .fs-btn, .fs-btn:focus-visible { opacity: 1; }
/* with a mouse the button shows on hover only (it would hide the top axis label); on touch screens it stays */
@media (hover: hover) { .fs-btn { opacity: 0; } }
.fs-btn:hover { color: #fff; border-color: rgba(60,207,152,.5); }
.fs-host:fullscreen, .fs-host.fs-fake { background: #0b0f17; padding: 20px 24px; overflow: auto; border-radius: 0; }
.fs-host.fs-fake { position: fixed; inset: 0; z-index: 2147483000; }
/* the card: a column, the chart takes the space left */
section.fs-host:fullscreen, .glass.fs-host:fullscreen, section.fs-host.fs-fake, .glass.fs-host.fs-fake { display: flex; flex-direction: column; }
section.fs-host:fullscreen > .fs-wrap, .glass.fs-host:fullscreen > .fs-wrap, section.fs-host.fs-fake > .fs-wrap, .glass.fs-host.fs-fake > .fs-wrap { flex: 1 1 auto; height: auto !important; min-height: 320px; }
/* the chart box alone */
.fs-wrap.fs-host:fullscreen, .fs-wrap.fs-host.fs-fake { height: 100vh !important; height: 100dvh !important; }
.fs-host:fullscreen .fs-btn, .fs-host.fs-fake .fs-btn { opacity: 1; }
html.fs-lock, html.fs-lock body { overflow: hidden; }

/* ---- calendar: the coming week, added on the weekend ---- */
.cal-week td { padding: 1.8rem .75rem .6rem; border-bottom: 1px solid rgba(60,207,152,.35); scroll-margin-top: 90px; }
.cal-week td > span:first-child { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: #fff; }

/* ---- Ask Accel (accel.html) ---- */
.ac-shell { display: flex; flex-direction: column; height: calc(100vh - 260px); min-height: 520px; overflow: hidden; transition: box-shadow .15s; }
.ac-shell.is-drag { box-shadow: inset 0 0 0 2px rgba(60,207,152,.6); }
.ac-thread { flex: 1 1 auto; overflow-y: auto; padding: 1.4rem 1.4rem .6rem; scroll-behavior: smooth; }
.ac-empty { text-align: center; padding: 2.5rem .5rem 1rem; }
.ac-logo { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 18px; color: #3ccf98; background: rgba(60,207,152,.1); box-shadow: inset 0 0 0 1px rgba(60,207,152,.3); }
.ac-suggest { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
.ac-msg { display: flex; gap: .7rem; margin-bottom: 1.1rem; }
.ac-user { justify-content: flex-end; }
.ac-bubble { max-width: min(760px, 88%); padding: .8rem 1rem; border-radius: 1.1rem; font-size: 14.5px; line-height: 1.65; color: #d7dce8; }
.ac-user .ac-bubble { background: rgba(60,207,152,.12); border: 1px solid rgba(60,207,152,.25); color: #fff; border-bottom-right-radius: .35rem; }
.ac-bot .ac-bubble { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-top-left-radius: .35rem; }
.ac-bubble.ac-error { border-color: rgba(255,79,123,.35); color: #ffb3c4; }
.ac-avatar { flex: none; width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; color: #04140d; background: linear-gradient(135deg, #6fe3b6, #2dd4bf); }
.ac-img { max-width: 100%; max-height: 320px; border-radius: .7rem; margin-bottom: .5rem; display: block; }
.ac-md h4 { font-family: 'Space Grotesk', sans-serif; font-size: 15.5px; font-weight: 600; color: #fff; margin: 1rem 0 .35rem; }
.ac-md h4:first-child { margin-top: 0; }
.ac-md p { margin: .45rem 0; }
.ac-md ul, .ac-md ol { margin: .4rem 0 .4rem 1.2rem; }
.ac-md ul { list-style: disc; } .ac-md ol { list-style: decimal; }
.ac-md li { margin: .2rem 0; }
.ac-md strong { color: #fff; }
.ac-md code { font-size: 12.5px; padding: .05rem .3rem; border-radius: .3rem; background: rgba(255,255,255,.07); }
.ac-used { margin-top: .7rem; padding-top: .55rem; border-top: 1px solid rgba(255,255,255,.06); font-size: 11px; color: #8692ad; }
.ac-typing { display: inline-flex; gap: 4px; }
.ac-typing span { width: 7px; height: 7px; border-radius: 50%; background: #3ccf98; opacity: .35; animation: acDot 1.1s infinite; }
.ac-typing span:nth-child(2) { animation-delay: .18s; } .ac-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes acDot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ac-form { border-top: 1px solid rgba(255,255,255,.06); padding: .8rem 1rem .6rem; background: rgba(4,6,11,.35); }
.ac-bar { display: flex; align-items: flex-end; gap: .6rem; }
.ac-bar textarea { flex: 1; resize: none; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: .9rem; padding: .7rem .9rem; color: #fff; font-size: 14.5px; line-height: 1.45; outline: none; max-height: 220px; }
.ac-bar textarea:focus { border-color: rgba(60,207,152,.5); }
.ac-attach, .ac-send { flex: none; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: .9rem; cursor: pointer; transition: background .15s, color .15s; }
.ac-attach { color: #c3cadb; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.ac-attach:hover { color: #fff; border-color: rgba(60,207,152,.45); }
.ac-send { color: #04140d; background: linear-gradient(135deg, #6fe3b6, #2dd4bf); }
.ac-send:hover { filter: brightness(1.08); }
.ac-preview { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.ac-thumb { position: relative; }
.ac-thumb img { height: 64px; border-radius: .6rem; border: 1px solid rgba(255,255,255,.12); }
.ac-thumb button { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: #0b111c; border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 14px; line-height: 1; }
.ac-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; margin-top: .45rem; font-size: 10.5px; color: #6c7690; }
@media (max-width: 640px) { .ac-shell { height: calc(100vh - 200px); } .ac-thread { padding: 1rem .8rem .4rem; } .ac-bubble { max-width: 92%; } }

/* ---- TradingView Chart (tvchart.html) and the links to it ---- */
.tv-box { position: relative; height: calc(100vh - 260px); min-height: 600px; border-radius: 1.2rem; overflow: hidden; background: #0b111c; }
.tv-box .tradingview-widget-container { position: absolute; inset: 0; }
/* the chart takes the whole box but the credit strip; TradingView sizes its frame once, so the heights are forced here */
.tv-box .tradingview-widget-container__widget { position: absolute; top: 0; left: 0; right: 0; bottom: 28px; height: auto !important; width: auto !important; }
.tv-box .tradingview-widget-container__widget iframe { width: 100% !important; height: 100% !important; display: block; }
.tv-box .tradingview-widget-copyright { position: absolute; left: 0; right: 0; bottom: 0; height: 28px; line-height: 28px; font-size: 10.5px; padding: 0 12px; text-align: right; }
.tv-box .tradingview-widget-copyright a { color: #6c7690; }
.tv-box .fs-btn { top: auto; right: auto; bottom: 2px; left: 8px; width: 24px; height: 24px; opacity: 1; } /* always shown, in the credit strip: it covers nothing of the chart */
.tv-box.fs-host:fullscreen, .tv-box.fs-host.fs-fake { padding: 0; height: 100vh !important; }
.tv-link { display: inline-flex; align-items: center; gap: .3rem; font-size: 11px; color: #8ff0c9; padding: .15rem .45rem; border-radius: .45rem; background: rgba(60,207,152,.08); border: 1px solid rgba(60,207,152,.2); white-space: nowrap; }
.tv-link:hover { color: #fff; border-color: rgba(60,207,152,.5); }
@media (max-width: 640px) { .tv-box { height: calc(100vh - 240px); min-height: 460px; } }

/* ---- Radar de la semaine: cards (at least 270 px wide: 3 per row next to the menu, 4 on a wide screen) ---- */
.rd-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.rd-card { min-width: 0; display: flex; flex-direction: column; gap: .75rem; padding: 1rem; border-radius: 1rem; background: rgba(255,255,255,.03); }
.rd-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.rd-name { min-width: 0; font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-sub { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: -.4rem; font-size: 11px; color: #6c7690; }
.rd-sub > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-sub .tv-link { flex: none; }
.rd-scores { display: grid; gap: .45rem; }
.rd-score { display: grid; grid-template-columns: 78px 1fr 34px; align-items: center; gap: .6rem; font-size: 11px; }
.rd-score-l { color: #8692ad; }
.rd-score-v { text-align: right; color: #d7dce8; }
.rd-ai { border-top: 1px solid rgba(255,255,255,.05); padding-top: .7rem; }
.rd-ai p { font-size: 12px; line-height: 1.6; color: #c3cadb; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rd-ai.is-open p { -webkit-line-clamp: unset; display: block; }
.rd-more { margin-top: .3rem; font-size: 11px; color: #8ff0c9; }
.rd-more:hover { color: #fff; }

/* ---- Overview (overview.html): one economy on one screen ---- */
.ov-hero { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, 1.3fr) auto; align-items: center; gap: 1.2rem; padding: 1.1rem 1.3rem; border-radius: 1.5rem; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.ov-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .9rem; }
.ov-kpi { min-width: 0; display: flex; flex-direction: column; }
.ov-kpi span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #6c7690; }
.ov-kpi b { font-family: 'Space Grotesk', sans-serif; font-size: 16px; line-height: 1.25; }
.ov-ai-box { min-width: 0; padding-left: 1.2rem; border-left: 1px solid rgba(255,255,255,.07); }
.ov-accel { align-self: center; white-space: nowrap; font-size: 12px; font-weight: 600; color: #04140d; padding: .55rem .9rem; border-radius: .8rem; background: linear-gradient(135deg, #6fe3b6, #2dd4bf); }
.ov-accel:hover { filter: brightness(1.08); }
.ov-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ov-clamp-5 { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.ov-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ov-grid { display: grid; gap: .9rem; margin-top: .9rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ov-panel { min-width: 0; padding: 1rem 1.1rem 1.1rem; border-radius: 1.3rem; background: rgba(13,19,31,.72); border: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.ov-panel.skeleton { border: none; }
.ov-ph { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8ff0c9; font-weight: 600; }
.ov-more { letter-spacing: 0; text-transform: none; font-weight: 500; font-size: 11px; color: #8692ad; }
.ov-more:hover { color: #fff; }
.ov-sigs { display: grid; gap: .1rem; }
.ov-sig { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; grid-template-areas: "dot k v" ". n n"; column-gap: .55rem; padding: .38rem 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: 12px; }
.ov-sig:last-child { border-bottom: none; }
.ov-dot { grid-area: dot; width: 8px; height: 8px; border-radius: 50%; align-self: center; }
.ov-sig-k { grid-area: k; color: #a3adc4; }
.ov-sig-v { grid-area: v; font-weight: 600; text-align: right; }
.ov-sig-n { grid-area: n; font-size: 10.5px; color: #6c7690; }
.ov-foot { margin-top: .6rem; padding-top: .55rem; border-top: 1px solid rgba(255,255,255,.06); font-size: 12px; color: #8692ad; display: flex; justify-content: space-between; }
.ov-chart-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; }
.ov-chart { position: relative; height: 240px; margin-top: .4rem; }
.ov-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem .8rem; margin-top: .7rem; }
.ov-stat { min-width: 0; display: flex; flex-direction: column; font-size: 11px; color: #6c7690; }
.ov-stat b { font-size: 12.5px; color: #d7dce8; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-prob { display: grid; grid-template-columns: 100px minmax(0, 1fr) 42px; align-items: center; gap: .55rem; font-size: 11.5px; color: #a3adc4; }
.ov-prob b { text-align: right; color: #fff; }
.ov-prob-b { height: 7px; border-radius: 9px; background: rgba(255,255,255,.06); overflow: hidden; }
.ov-prob-b i { display: block; height: 100%; border-radius: 9px; }
.ov-y { display: grid; grid-template-columns: 1fr auto 70px; gap: .6rem; font-size: 12px; color: #8692ad; }
.ov-y span:last-child { text-align: right; font-size: 11px; }
.ov-stack { display: flex; height: 10px; border-radius: 9px; overflow: hidden; margin-top: .6rem; background: rgba(255,255,255,.05); }
.ov-stack i { display: block; height: 100%; }
.ov-legend { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin-top: .5rem; font-size: 11px; color: #8692ad; }
.ov-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: .3rem; }
.ov-legend b { color: #d7dce8; font-weight: 600; }
.ov-fc { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; font-size: 11px; }
.ov-fc-c { display: inline-flex; flex-direction: column; align-items: center; padding: .25rem .5rem; border-radius: .5rem; background: rgba(255,255,255,.04); }
.ov-fc-c small { font-size: 9.5px; color: #6c7690; }
.ov-fc-c b { font-size: 12.5px; color: #fff; }
.ov-gauge { position: relative; height: 7px; margin-top: .35rem; border-radius: 9px; background: rgba(255,255,255,.06); }
.ov-gauge i { position: absolute; top: 0; height: 100%; border-radius: 9px; }
.ov-gauge em { position: absolute; left: 50%; top: -3px; width: 1px; height: 13px; background: rgba(255,255,255,.3); }
.ov-pct { position: relative; height: 8px; margin: .7rem 0 .35rem; border-radius: 9px; background: linear-gradient(90deg, rgba(255,79,123,.55), rgba(134,146,173,.25) 50%, rgba(60,207,152,.55)); }
.ov-pct i { position: absolute; top: -4px; width: 4px; height: 16px; margin-left: -2px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 2px #0b111c; }
.ov-sub { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #6c7690; margin-bottom: .3rem; }
.ov-ev { display: grid; grid-template-columns: 8px 92px minmax(0, 1fr) auto; align-items: center; gap: .5rem; padding: .3rem 0; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.04); }
.ov-imp { width: 7px; height: 7px; border-radius: 50%; background: #ffb357; }
.ov-imp.is-high { background: #ff4f7b; }
.ov-ev-t { font-size: 10.5px; color: #6c7690; }
.ov-ev-n { min-width: 0; color: #d7dce8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-ev-v { font-size: 12px; }
.ov-news { padding: .42rem 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: 10.5px; }
.ov-news:last-child { border-bottom: none; }
.ov-pair { display: flex; align-items: center; gap: .6rem; font-size: 12px; }
.ov-pot { flex: 1; height: 7px; border-radius: 9px; background: rgba(255,255,255,.06); overflow: hidden; }
.ov-pot i { display: block; height: 100%; border-radius: 9px; }
.ov-pair .tv-link { padding: .15rem .3rem; }
@media (max-width: 1280px) { .ov-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ov-ai-box { grid-column: 1 / -1; padding-left: 0; border-left: none; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.07); } .ov-accel { justify-self: start; } .ov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ov-hero, .ov-grid { grid-template-columns: minmax(0, 1fr); } .ov-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Overview: the global screen (terminal.js) ---- */
.tm-bar { display: flex; align-items: center; gap: .9rem; padding: .5rem .8rem; border-radius: 1rem; background: rgba(13,19,31,.85); border: 1px solid rgba(255,255,255,.07); }
.tm-live { flex: none; display: inline-flex; align-items: center; gap: .4rem; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: #04140d; background: #3ccf98; padding: .2rem .5rem; border-radius: .4rem; }
.tm-live i { width: 6px; height: 6px; border-radius: 50%; background: #04140d; animation: tmPulse 1.6s infinite; }
@keyframes tmPulse { 50% { opacity: .25; } }
.tm-ticker { flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tm-ticker-in { display: inline-flex; gap: 1.6rem; white-space: nowrap; animation: tmScroll 60s linear infinite; }
.tm-ticker:hover .tm-ticker-in { animation-play-state: paused; }
@keyframes tmScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tm-tick { display: inline-flex; align-items: baseline; gap: .45rem; font-size: 12.5px; color: #d7dce8; }
.tm-tick b { color: #8692ad; font-weight: 600; font-size: 11.5px; }
.tm-tick em { font-style: normal; font-size: 11.5px; }
.tm-sessions { flex: none; display: flex; gap: .7rem; }
.tm-sess { display: flex; flex-direction: column; line-height: 1.15; font-size: 11px; color: #6c7690; padding-left: .55rem; border-left: 2px solid rgba(255,255,255,.08); }
.tm-sess b { color: #a3adc4; font-weight: 600; }
.tm-sess.is-open { border-left-color: #3ccf98; }
.tm-sess.is-open b { color: #fff; }
.tm-sess.is-open small { color: #3ccf98; }
.tm-clock { flex: none; font-size: 12px; color: #d7dce8; }
.tm-grid { display: grid; gap: .7rem; margin-top: .7rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "feed risk bias" "feed strength radar" "feed strength econ" "feed banks econ" "feed banks next"; }
.tm-panel { min-width: 0; display: flex; flex-direction: column; border-radius: 1rem; background: rgba(13,19,31,.78); border: 1px solid rgba(255,255,255,.07); padding: .75rem .85rem; }
.tm-feed { grid-area: feed; padding: .75rem 0 0; max-height: 1180px; }
.tm-risk { grid-area: risk; } .tm-strength { grid-area: strength; } .tm-banks { grid-area: banks; }
.tm-bias { grid-area: bias; } .tm-radar { grid-area: radar; } .tm-econ { grid-area: econ; } .tm-next { grid-area: next; }
.tm-ph { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .55rem; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8ff0c9; font-weight: 700; }
.tm-feed .tm-ph { padding: 0 .85rem; }
.tm-ph > span { display: inline-flex; align-items: center; gap: .45rem; }
.tm-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4f7b; animation: tmPulse 1.6s infinite; }
.tm-more, .tm-hint { letter-spacing: 0; text-transform: none; font-weight: 500; font-size: 11px; color: #6c7690; }
.tm-more:hover { color: #fff; }
.tm-tabs { display: flex; flex-wrap: wrap; gap: .3rem; padding: 0 .85rem .55rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.tm-tab { font-size: 11px; padding: .2rem .5rem; border-radius: .45rem; color: #8692ad; background: rgba(255,255,255,.03); }
.tm-tab span { margin-left: .35rem; color: #6c7690; }
.tm-tab.active { color: #04140d; background: #3ccf98; }
.tm-tab.active span { color: rgba(4,20,13,.6); }
.tm-feed-list { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
.tm-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .5rem; padding: .55rem .85rem; border-bottom: 1px solid rgba(255,255,255,.04); }
.tm-item:hover { background: rgba(255,255,255,.03); }
.tm-item.is-data { background: rgba(255,179,87,.05); }
.tm-item-t { font-size: 11px; color: #6c7690; padding-top: .1rem; }
.tm-item-b { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.tm-item-title { font-size: 13px; line-height: 1.35; color: #e6e9f0; }
.tm-item-src { font-size: 10.5px; }
.tm-risk-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: center; }
.tm-gauge { display: flex; flex-direction: column; align-items: center; }
.tm-gauge-v { display: flex; flex-direction: column; align-items: center; margin-top: -.35rem; line-height: 1.1; }
.tm-gauge-v b { font-family: 'Space Grotesk', sans-serif; font-size: 24px; }
.tm-gauge-v span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.tm-deltas { display: flex; gap: .7rem; margin-top: .4rem; }
.tm-delta { display: flex; flex-direction: column; align-items: center; font-size: 11px; line-height: 1.2; }
.tm-delta small { font-size: 9.5px; color: #6c7690; }
.tm-risk-chart { position: relative; height: 150px; }
.tm-tfs { display: flex; gap: .2rem; }
.tm-tf { letter-spacing: 0; font-size: 10.5px; padding: .15rem .45rem; border-radius: .35rem; color: #8692ad; background: rgba(255,255,255,.04); }
.tm-tf.active { color: #04140d; background: #3ccf98; }
.tm-strength-body { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: .6rem; }
.tm-strength-chart { position: relative; height: 270px; }
.tm-strength-tags { display: flex; flex-direction: column; justify-content: space-between; gap: .25rem; }
.tm-stag { display: flex; justify-content: space-between; align-items: center; gap: .3rem; font-size: 11px; padding: .2rem .4rem; border-radius: .35rem; }
.tm-table { width: 100%; font-size: 12px; border-collapse: collapse; }
.tm-table th { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #6c7690; font-weight: 600; text-align: left; padding: 0 .3rem .4rem; }
.tm-table td { padding: .38rem .3rem; border-top: 1px solid rgba(255,255,255,.04); white-space: nowrap; }
/* numbers and their titles on the same edge: a column right-aligned is right-aligned in its title too */
.tm-table th.text-right, .tm-table td.text-right { text-align: right; }
.tm-table { table-layout: fixed; }
.tm-table th:nth-child(1) { width: 34%; } .tm-table th:nth-child(2) { width: 13%; } .tm-table th:nth-child(3) { width: 14%; } .tm-table th:nth-child(n+4) { width: 13%; }
.tm-table td:first-child > span { overflow: hidden; }
.tm-table th, .tm-table td { overflow: hidden; text-overflow: ellipsis; }
.tm-table th:nth-child(3), .tm-table td:nth-child(3) { padding-left: 1rem; }
.tm-note { margin-top: .4rem; font-size: 10px; color: #6c7690; }
.tm-brow { display: grid; grid-template-columns: 36px minmax(0, 1fr) 34px 30px; align-items: center; gap: .5rem; padding: .22rem 0; font-size: 12px; }
.tm-bhead { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #6c7690; }
.tm-bbar { position: relative; height: 7px; border-radius: 9px; background: rgba(255,255,255,.06); }
.tm-bbar i { position: absolute; top: 0; height: 100%; border-radius: 9px; }
.tm-bbar em { position: absolute; left: 50%; top: -3px; width: 1px; height: 13px; background: rgba(255,255,255,.3); }
.tm-rrow { display: grid; grid-template-columns: 74px minmax(0, 1fr) 24px 82px; align-items: center; gap: .5rem; padding: .28rem 0; font-size: 12px; }
.tm-rrow:hover b { color: #8ff0c9 !important; }
.tm-pot { height: 6px; border-radius: 9px; background: rgba(255,255,255,.06); overflow: hidden; }
.tm-pot i { display: block; height: 100%; }
.tm-erow { width: 100%; display: grid; grid-template-columns: 20px 22px minmax(0, 1fr) auto 26px; align-items: center; gap: .5rem; padding: .38rem .35rem; font-size: 12.5px; border-radius: .5rem; text-align: left; }
.tm-erow:hover { background: rgba(60,207,152,.07); }
.tm-badge { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; color: #8ff0c9; padding: .08rem .35rem; border-radius: .3rem; border: 1px solid rgba(60,207,152,.3); }
.tm-nrow { display: grid; grid-template-columns: 88px 30px minmax(0, 1fr) auto; align-items: center; gap: .45rem; padding: .3rem 0; font-size: 11.5px; border-top: 1px solid rgba(255,255,255,.04); }
.tm-nrow:first-child { border-top: none; }
@media (max-width: 1400px) { .tm-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-template-areas: "feed risk" "feed strength" "feed banks" "bias radar" "econ next"; } .tm-sess small { display: none; } }
@media (max-width: 1100px) { .tm-sessions { display: none; } }
@media (max-width: 860px) { .tm-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "risk" "strength" "feed" "banks" "bias" "radar" "econ" "next"; } .tm-feed { max-height: 560px; } .tm-risk-body { grid-template-columns: minmax(0, 1fr); } .tm-clock { display: none; } }

/* ---- Overview: the geopolitical radar card ---- */
.tm-geo-scan { position: relative; display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(60,207,152,.6); overflow: hidden; }
.tm-geo-scan i { position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(60,207,152,.85), rgba(60,207,152,0) 70deg); animation: tmSweep 2.4s linear infinite; }
@keyframes tmSweep { to { transform: rotate(360deg); } }
.tm-geo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem .8rem; padding-bottom: .5rem; margin-bottom: .2rem; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 11px; }
.tm-geo-status { display: inline-flex; align-items: center; gap: .4rem; }
.tm-geo-status i { width: 6px; height: 6px; border-radius: 50%; animation: tmPulse 1.6s infinite; }
.tm-geo-counts { display: flex; gap: .7rem; }
.tm-geo-counts b { font-size: 12.5px; }
.tm-geo-row { display: grid; grid-template-columns: 4px minmax(0, 1fr); gap: .6rem; padding: .45rem .2rem; border-bottom: 1px solid rgba(255,255,255,.04); border-radius: .4rem; }
.tm-geo-row:last-child { border-bottom: none; }
.tm-geo-row:hover { background: rgba(255,255,255,.03); }
.tm-geo-sev { border-radius: 4px; }
.tm-geo-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.35; color: #e6e9f0; }
.tm-geo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .2rem; font-size: 10.5px; color: #6c7690; }
.tm-geo-meta b { font-weight: 700; }

/* the world map inside the Overview's geopolitical radar */
.tm-geo-map { aspect-ratio: 2 / 1; min-height: 170px; margin-bottom: .55rem; border-radius: .9rem; background: radial-gradient(ellipse at 50% 45%, rgba(92,200,255,.06), transparent 70%), rgba(4,6,11,.4); }

/* ---- Overview: the risk sentiment card, in the Sentiment page's style ---- */
.tm-rg { display: grid; grid-template-columns: minmax(170px, 210px) minmax(0, 1fr); gap: 1rem; align-items: start; }
.tm-rg-left { position: relative; display: flex; flex-direction: column; align-items: center; }
.tm-rg-left::before { content: ''; position: absolute; top: -30px; left: 50%; width: 180px; height: 180px; transform: translateX(-50%); border-radius: 50%; background: #3ccf98; filter: blur(60px); opacity: .12; pointer-events: none; }
.tm-rg-svg { position: relative; width: 100%; max-width: 210px; display: block; }
.tm-rg-val { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: .35rem; line-height: 1.05; }
.tm-rg-val b { font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700; }
.tm-rg-val span { margin-top: .2rem; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; }
.tm-rg-boxes { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; width: 100%; margin-top: .7rem; }
.tm-rg-box { display: flex; flex-direction: column; align-items: center; padding: .45rem .3rem; border-radius: .7rem; background: rgba(255,255,255,.04); }
.tm-rg-box span { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #8692ad; text-align: center; }
.tm-rg-box b { margin-top: .15rem; font-size: 13px; color: #e6e9f0; }
.tm-rg-box em { font-style: normal; font-size: 11px; }
.tm-rg-box em.up { color: #3ee6b0; } .tm-rg-box em.down { color: #ff4f7b; }
.tm-rg-right { min-width: 0; }
.tm-rg-sub { font-size: 10.5px; color: #6c7690; margin-bottom: .3rem; }
.tm-rg-right .tm-risk-chart { height: 150px; }
.tm-rcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem .9rem; margin-top: .6rem; padding-top: .55rem; border-top: 1px solid rgba(255,255,255,.06); }
.tm-rc { display: grid; grid-template-columns: minmax(0, 1fr) 36px 22px; align-items: center; gap: .45rem; font-size: 11px; }
.tm-rc-l { color: #a3adc4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-rc-b { height: 5px; border-radius: 9px; background: rgba(255,255,255,.06); overflow: hidden; }
.tm-rc-b i { display: block; height: 100%; border-radius: 9px; }
.tm-rc b { text-align: right; font-size: 11.5px; }
@media (max-width: 600px) { .tm-rg { grid-template-columns: minmax(0, 1fr); } .tm-rcs { grid-template-columns: minmax(0, 1fr); } }

/* ---- Overview: the week's Radar as rings ---- */
.tm-rings { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; }
.tm-ring { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .35rem .1rem; border-radius: .8rem; text-align: center; transition: background .15s; }
.tm-ring:hover { background: rgba(255,255,255,.04); }
.tm-ring-svg { width: 100%; max-width: 62px; }
.tm-ring b { font-size: 11.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tm-ring span { font-size: 10.5px; white-space: nowrap; }
@media (max-width: 420px) { .tm-rings { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- Radar: the verified watchlist and the two checklists ---- */
.rd-grid-wide { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.rd-card.is-verified { background: rgba(60,207,152,.045); }
.rd-empty { font-size: 12.5px; line-height: 1.65; color: #a3adc4; padding: .9rem 1rem; border-radius: 1rem; background: rgba(255,255,255,.03); }
.rd-empty b { color: #e6e9f0; }
.rd-check { border-top: 1px solid rgba(255,255,255,.05); padding-top: .6rem; display: flex; flex-direction: column; gap: .5rem; }
.rd-check-head { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: 11px; }
.rd-v { display: inline-flex; align-items: center; padding: .15rem .55rem; border-radius: .45rem; font-weight: 600; white-space: nowrap; }
.rd-v.ok { color: #3ee6b0; background: rgba(62,230,176,.12); }
.rd-v.ko { color: #a3adc4; background: rgba(255,255,255,.06); }
.rd-v-why { flex: 1 1 100%; color: #8692ad; line-height: 1.45; }
.rd-ck-lists { display: grid; gap: .55rem; }
.rd-ck-title { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8692ad; margin-bottom: .25rem; }
.rd-ck-title .num { color: #d7dce8; }
.rd-ck { display: grid; grid-template-columns: 14px minmax(0, 118px) minmax(0, 1fr); gap: .4rem; align-items: baseline; font-size: 11px; line-height: 1.4; padding: .12rem 0; }
.rd-ck-i { text-align: center; font-weight: 700; }
.rd-ck.ok .rd-ck-i { color: #3ee6b0; } .rd-ck.ko .rd-ck-i { color: #ff4f7b; } .rd-ck.na .rd-ck-i { color: #6c7690; }
.rd-ck-l { color: #d7dce8; } .rd-ck.na .rd-ck-l { color: #8692ad; }
.rd-ck-d { color: #8692ad; }
.tm-ring .tm-v { display: inline-block; margin-left: .2rem; color: #3ee6b0; font-weight: 700; }

/* ---- Divergences: since when a scenario holds ---- */
.dv-hist { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .75rem; margin-top: .9rem; padding: .6rem .8rem; border-radius: 12px; font-size: 12px; line-height: 1.45; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
.dv-hist-l { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8692ad; }
.dv-hist-runs { display: flex; flex-wrap: wrap; gap: .3rem .6rem; color: #8692ad; }
.dv-hist-run { white-space: nowrap; }

/* ---- TradingView page: drawings are not kept by the widget ---- */
.tv-open { color: #8ff0c9; }
.tv-note { display: flex; align-items: flex-start; gap: .6rem; margin-top: .75rem; padding: .6rem .8rem; border-radius: 12px; font-size: 11.5px; line-height: 1.5; color: #a3adc4; background: rgba(255,179,87,.06); border: 1px solid rgba(255,179,87,.2); }
.tv-note b { color: #e6e9f0; font-weight: 600; }
.tv-note-i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 700; color: #04060b; background: #ffb357; }

/* ---- Pricing: the free trial ---- */
.trial-note { margin-top: .6rem; font-size: 12.5px; line-height: 1.5; color: #a3adc4; }
.trial-note b { color: #8ff0c9; font-weight: 600; }
.trial-banner { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.1rem; padding: .45rem .95rem; border-radius: 999px; font-size: 13px; color: #c3cadb; background: rgba(60,207,152,.08); border: 1px solid rgba(60,207,152,.28); }
.trial-banner b { color: #8ff0c9; font-weight: 600; }
.trial-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ccf98; box-shadow: 0 0 10px #3ccf98; flex: none; }
.trial-banner[hidden], .trial-note[hidden] { display: none; }
