/* Live Economic Data — clarityupsc.com/live-economic-data/ (12 Nov 2026, the owner's refined look).
   Layout (design A): title → Just released (chart card) + Next release card → Key numbers → topic tiles →
   Coming up date cards → footer. A tap opens the number as a bottom sheet (phones) or a centred panel (wider).
   Colours: the app's Graphite night look, the only theme of the portal. Type: Plus Jakarta Sans with tabular figures.
   Arrows stay neutral; the band flag (inside / above / below the target band) is the only warning colour. */
/* One dark identity for the portal on every device, whatever the phone's own mode (owner, 12 Nov: "a single dark colour tone …
   unique"; the Graphite night look the owner saw on the phone "looks good"). Soft graphite, never pure black; off-white text. */
:root {
  --led-bg: #0E1116; --led-card: #171B22; --led-card-2: #1C212A; --led-line: #262D38; --led-line-2: #323B48;
  --led-ink: #E7EBF0; --led-ink-2: #A3ADBB; --led-ink-3: #7D8797;
  --led-accent: #7D95F8; --led-accent-2: #A3B4FB; --led-accent-soft: #1D2547; --led-chip: #232A35;
  --led-sh1: 0 0 0 1px #232A35; --led-sh2: 0 0 0 1px #2A3240, 0 16px 40px rgba(0,0,0,.45);
  --led-ok: #4ADE87; --led-ok-soft: #12301F; --led-out: #F58AA0; --led-out-soft: #3A1A22; --led-warn: #F5C55A; --led-warn-soft: #352A0E;
  --led-t-rates: #1B2342; --led-t-prices: #3A2219; --led-t-growth: #12301F; --led-t-jobs: #33290C; --led-t-fiscal: #3A1A22;
  --led-t-external: #132B3E; --led-t-banking: #20262F; --led-t-farm: #232C12; --led-t-society: #3A1A2A; --led-t-ranks: #33290C;
  --led-c-rates: #93A8FA; --led-c-prices: #F28A64; --led-c-growth: #4FD39A; --led-c-jobs: #F5C55A; --led-c-fiscal: #F58AA0;
  --led-c-external: #5FB6EE; --led-c-banking: #AEB8C6; --led-c-farm: #A9C95A; --led-c-society: #F58AA0; --led-c-ranks: #F5C55A;
  --led-compare: #F5C55A;
  --led-scrim: rgba(0,0,0,.6);
  --led-sticky-top: 0px;
  --led-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
/* Light mode only when the reader chooses it with the ring switch (owner, 12 Nov: dark is the default whatever the
   device says). The app's Slate & Signal day look. */
:root[data-theme="light"] {
  --led-bg: #F5F7FA; --led-card: #FFFFFF; --led-card-2: #F8FAFC; --led-line: #E9EDF2; --led-line-2: #DCE2EA;
  --led-ink: #12161C; --led-ink-2: #555F6D; --led-ink-3: #7A8496;
  --led-accent: #4C6EF5; --led-accent-2: #3A55D0; --led-accent-soft: #EAEFFE; --led-chip: #F1F3F7;
  --led-sh1: 0 1px 2px rgba(16,22,28,.05), 0 6px 16px rgba(16,22,28,.05); --led-sh2: 0 1px 2px rgba(16,22,28,.05), 0 14px 34px rgba(76,110,245,.14);
  --led-ok: #0B8E44; --led-ok-soft: #E3F6EA; --led-out: #C42A47; --led-out-soft: #FDE8EC; --led-warn: #8A5A00; --led-warn-soft: #FDF1D6;
  --led-t-rates: #E9EEFF; --led-t-prices: #FFEDE5; --led-t-growth: #E2F6EC; --led-t-jobs: #FFF4D6; --led-t-fiscal: #FDE6EA;
  --led-t-external: #E4F1FC; --led-t-banking: #EEF1F5; --led-t-farm: #F2F6DD; --led-t-society: #FCE8F0; --led-t-ranks: #FFF2D4;
  --led-c-rates: #4C6EF5; --led-c-prices: #E8663D; --led-c-growth: #1FA06B; --led-c-jobs: #D99400; --led-c-fiscal: #C8283F;
  --led-c-external: #1F86CC; --led-c-banking: #5A6472; --led-c-farm: #6E8A1E; --led-c-society: #D93D5C; --led-c-ranks: #C98A0B;
  --led-compare: #C98500;
  --led-scrim: rgba(12,14,18,.45);
  color-scheme: light;
}
:root[data-theme="light"] .g-tag text, :root[data-theme="light"] .led-area-tag, :root[data-theme="light"] .led-q-go { color: #fff; fill: #fff; }
:root[data-theme="light"] .led-dc.is-soon .led-dc-count { color: #fff; }
:root[data-theme="light"] .led-tip small.is-cmp { color: #FFD27A; }
html { background: var(--led-bg); }
.led, .led-sheet { font-family: var(--led-font); color: var(--led-ink); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
body.led-body { background: var(--led-bg); }
.led { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 4px 8px; }
.led *, .led *::before, .led *::after, .led-sheet *, .led-sheet *::before, .led-sheet *::after { box-sizing: border-box; }
.led a, .led-sheet a { color: inherit; text-decoration: none; }
.led-title { font-size: clamp(1.65rem, 5.2vw, 2.3rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; margin: 22px 2px 16px; color: var(--led-ink); }
.led-empty { color: var(--led-ink-3); }
.led-ill { display: block; flex: none; width: 40px; height: 40px; }
.led-card { background: var(--led-card); border-radius: 20px; box-shadow: var(--led-sh1); }
.led-chip { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--led-chip); color: var(--led-ink); white-space: nowrap; }

/* top area: Just released + Next release (side by side on wide screens) */
.led-top { display: grid; gap: 12px; }
@media (min-width: 900px) { .led-top { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.led-side { display: grid; gap: 12px; }

/* Just released */
.led-hero { position: relative; min-width: 0; }
.led-hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 24px; scrollbar-width: none; margin: -8px -16px 0; padding: 8px 16px 14px; }
.led-hero-track::-webkit-scrollbar { display: none; }
.led-hero-card { flex: 0 0 100%; scroll-snap-align: center; display: grid; padding: 16px 16px 4px; background: var(--led-card); border-radius: 26px; box-shadow: var(--led-sh2); overflow: hidden; min-width: 0; }
.led-hero-top { display: flex; align-items: center; gap: 10px; }
.led-hero-top .led-ill { width: 38px; height: 38px; }
.led-ey { display: grid; font-size: 12.5px; font-weight: 750; color: var(--led-accent); line-height: 1.3; }
.led-ey small { font-size: 12px; font-weight: 500; color: var(--led-ink-3); }
.led-hero-head { display: block; font-size: clamp(1.3rem, 5.6vw, 1.6rem); line-height: 1.2; font-weight: 800; letter-spacing: -.025em; margin: 12px 0 6px; }
.led-hero-head b { color: var(--led-accent); font-weight: 800; }
.led-hero-sub { display: block; font-size: 14px; line-height: 1.5; color: var(--led-ink-2); }
.led-hero-chart { display: block; margin: 10px -16px 0; height: 116px; }
.led-hero-chart svg { display: block; width: 100%; height: 116px; overflow: visible; }
.led-area { position: relative; display: block; height: 100%; }
.led-area-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2.5px var(--led-card), 0 0 0 9px color-mix(in srgb, var(--c) 18%, transparent); }
.led-area-tag { position: absolute; transform: translate(10px, -130%); font: 800 11.5px/1 var(--led-font); color: #0E1116; background: var(--c); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.led-dots { display: flex; align-items: center; gap: 2px; justify-content: center; margin-top: -6px; }
.led-dot { display: grid; place-items: center; width: 24px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.led-dot i { position: relative; display: block; width: 7px; height: 7px; border-radius: 4px; background: var(--led-ink-3); opacity: .45; overflow: hidden; transition: width .25s ease, opacity .2s; }
.led-dot.is-on i { width: 28px; opacity: 1; background: var(--led-line-2); }
.led-dot.is-on { width: 40px; }
/* the current dot fills over the slide's time while it runs; full when paused or stopped */
.led-dot.is-on i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--led-accent); transform-origin: left center; transform: scaleX(1); }
.led-hero.is-running .led-dot.is-on.is-tick i::after { animation: led-tick var(--led-hero-left, 6000ms) linear both; }
@keyframes led-tick { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.led-hero-pause { display: grid; place-items: center; width: 28px; height: 28px; margin-right: 4px; padding: 0; border: 0; border-radius: 50%; background: var(--led-chip); color: var(--led-ink-2); cursor: pointer; }
.led-hero-pause svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.led-hero-pause .i-play { display: none; fill: currentColor; stroke-width: 1.5; }
.led-hero.is-stopped .led-hero-pause .i-pause { display: none; }
.led-hero.is-stopped .led-hero-pause .i-play { display: inline; }
.led-hero-nav { display: none; position: absolute; top: calc(50% - 30px); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--led-line-2); background: color-mix(in srgb, var(--led-card) 88%, transparent); color: var(--led-ink); cursor: pointer; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); opacity: 0; transition: opacity .18s ease; }
.led-hero-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.led-hero-nav.is-prev { left: -6px; }
.led-hero-nav.is-next { right: -6px; }
@media (hover: hover) and (pointer: fine) {
  .led-hero.is-many .led-hero-nav { display: grid; }
  .led-hero:hover .led-hero-nav, .led-hero-nav:focus-visible { opacity: 1; }
}

/* band flag */
.led-flag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 10px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; color: var(--led-ok); background: var(--led-ok-soft); width: max-content; max-width: 100%; }
.led-flag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.led-flag.is-out { color: var(--led-out); background: var(--led-out-soft); }

/* Next release */
.led-next { display: flex; align-items: center; gap: 12px; padding: 10px; min-width: 0; }
.led-cal { width: 50px; height: 54px; border-radius: 14px; background: var(--led-accent-soft); color: var(--led-accent-2); display: grid; place-items: center; align-content: center; line-height: 1; flex: none; }
.led-cal small { font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.led-cal b { font-size: 22px; font-weight: 800; margin-top: 2px; }
.led-next-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.led-next-t small { font-size: 11.5px; color: var(--led-ink-3); font-weight: 600; }
.led-next-t b { font-size: 15px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.led-next-t em { font-style: normal; font-size: 12.5px; color: var(--led-ink-2); }
.led-remind { display: inline-flex; align-items: center; gap: 5px; font: 750 12.5px/1 var(--led-font); color: var(--led-accent-2); background: var(--led-accent-soft); padding: 10px 12px; border-radius: 999px; white-space: nowrap; border: 0; cursor: pointer; flex: none; }
.led-remind svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.led-remind.is-done { color: var(--led-ok); background: var(--led-ok-soft); }
.led-side-note { padding: 14px 16px; font-size: 13px; line-height: 1.55; color: var(--led-ink-2); display: none; }
.led-side-note b { color: var(--led-ink); }
@media (min-width: 900px) { .led-side-note { display: block; } }

/* section headings */
.led-h { display: flex; justify-content: space-between; align-items: baseline; margin: 28px 2px 12px; }
.led-h h2 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.015em; margin: 0; color: var(--led-ink); }
.led-h a, .led-h button { font: 700 13px var(--led-font); color: var(--led-accent); background: none; border: 0; cursor: pointer; padding: 0; }

/* Key numbers */
.led-kg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .led-kg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .led-kg { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.led-k { display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--led-card); border-radius: 20px; box-shadow: var(--led-sh1); transition: transform .15s ease, box-shadow .15s ease; min-width: 0; }
.led-k:hover { box-shadow: var(--led-sh2); }
.led-k:active { transform: scale(.985); }
.led-k-in { padding: 13px 13px 2px; display: grid; gap: 6px; }
.led-k-t { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 650; color: var(--led-ink-2); line-height: 1.2; min-width: 0; }
.led-k-t .led-ill { width: 26px; height: 26px; }
.led-newdot { width: 7px; height: 7px; border-radius: 50%; background: var(--led-accent); margin-left: auto; flex: none; }
.led-k-v { font-size: clamp(1.4rem, 6vw, 1.75rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.led-k-f { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.led-k-f small { font-size: 11px; color: var(--led-ink-3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.led-k-spark { display: block; height: 44px; align-self: end; }
.led-k-spark svg { display: block; width: 100%; height: 44px; }

/* topic tiles */
.led-tg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .led-tg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .led-tg { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.led-tile { position: relative; border-radius: 20px; padding: 13px; display: grid; gap: 10px; min-height: 132px; align-content: space-between; transition: transform .15s ease, box-shadow .15s ease; min-width: 0; }
.led-tile:hover { box-shadow: var(--led-sh1); }
.led-tile:active { transform: scale(.985); }
.led-tile .led-ill { width: 42px; height: 42px; }
.led-tile b { display: block; font-size: 14.5px; font-weight: 750; line-height: 1.25; color: var(--led-ink); }
.led-tile small { display: block; font-size: 12px; font-weight: 600; color: var(--led-ink-2); margin-top: 2px; }
.led-cnt { position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 800; color: var(--led-ink-2); background: color-mix(in srgb, var(--led-card) 72%, transparent); padding: 3px 8px; border-radius: 999px; }

/* Coming up */
.led-week { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 12px; scroll-snap-type: x proximity; scrollbar-width: none; }
.led-week::-webkit-scrollbar { display: none; }
.led-dc { flex: none; width: 176px; scroll-snap-align: start; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 12px; background: var(--led-card); border-radius: 20px; box-shadow: var(--led-sh1); transition: transform .15s ease; }
.led-dc:active { transform: scale(.985); }
.led-dc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.led-dc-top .led-ill { width: 34px; height: 34px; }
.led-dc-when { display: grid; justify-items: end; line-height: 1.05; text-align: right; }
.led-dc-when b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--led-accent); }
.led-dc-when small { font-size: 10.5px; font-weight: 800; color: var(--led-ink-3); letter-spacing: .02em; }
.led-dc-count { justify-self: start; font-size: 11px; font-weight: 800; color: var(--led-accent-2); background: var(--led-accent-soft); padding: 3px 8px; border-radius: 999px; }
.led-dc p { margin: 0; font-size: 13.5px; font-weight: 750; line-height: 1.3; color: var(--led-ink); }
.led-dc p em { display: block; font-style: normal; font-size: 12px; color: var(--led-ink-2); font-weight: 600; margin-top: 3px; }
.led-dc-last { font-size: 11.5px; color: var(--led-ink-3); font-weight: 600; border-top: 1px dashed var(--led-line-2); padding-top: 8px; }
.led-dc-last b { color: var(--led-ink); font-weight: 800; }
.led-dc.is-soon { background: var(--led-accent-soft); box-shadow: 0 0 0 1.5px var(--led-accent), var(--led-sh2); }
.led-dc.is-soon .led-dc-when b { color: var(--led-accent-2); }
.led-dc.is-soon .led-dc-count { background: var(--led-accent); color: #0E1116; }

.led-foot { margin-top: 34px; font-size: 13px; line-height: 1.6; color: var(--led-ink-3); max-width: 780px; }
.led-foot p { margin: 0 0 8px; }
.led-all { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-size: 12px; }
.led-all a { color: var(--led-ink-3); text-decoration: underline; text-decoration-color: var(--led-line-2); }

/* rows (topic view, all figures) */
.led-rows { background: var(--led-card); border-radius: 18px; box-shadow: var(--led-sh1); overflow: hidden; }
.led-sheet .led-rows { box-shadow: 0 0 0 1px var(--led-line); }
.led-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--led-line); }
.led-row:first-child { border-top: 0; }
.led-row:hover { background: var(--led-bg); }
.led-row-name { display: grid; min-width: 0; }
.led-row-name b { font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.led-row-name small { font-size: 12px; color: var(--led-ink-3); font-weight: 500; }
.led-row-spark { display: none; }
.led-row-val { display: grid; justify-items: end; gap: 3px; }
.led-row-val b { font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
@media (min-width: 400px) { .led-row { grid-template-columns: minmax(0, 1fr) 72px auto; } .led-row-spark { display: block; } .led-row-spark svg { display: block; width: 72px; height: 28px; } }
.led-wk { margin: 20px 2px 10px; font-size: 14px; font-weight: 800; color: var(--led-ink-2); }
.led-view .led-d-head { margin-bottom: 14px; }

/* ── the detail (sheet and indicator page) ── */
.led-detail { color: var(--led-ink); }
.led-d-head { display: flex; align-items: center; gap: 12px; padding-right: 44px; }
.led-d-head .led-ill { width: 44px; height: 44px; }
.led-d-hn { display: grid; min-width: 0; }
.led-d-title { font-size: 1.25rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.led-detail.is-page .led-d-title { font-size: clamp(1.6rem, 5vw, 2.1rem); }
.led-d-hn small { font-size: 12.5px; color: var(--led-ink-3); font-weight: 600; }
.led-d-big { display: flex; align-items: center; gap: 10px; margin: 18px 0 4px; flex-wrap: wrap; }
.led-d-num { font-size: clamp(2.4rem, 11vw, 3rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.led-status { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--led-warn-soft); color: var(--led-warn); }
.led-d-cap { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--led-ink-2); max-width: 62ch; }
.led-detail .led-flag { margin-top: 10px; }

/* chart */
.led-chart { margin: 18px 0 0; }
.led-chart-box { position: relative; height: 240px; touch-action: pan-y; }
@media (min-width: 720px) { .led-chart-box { height: 280px; } }
.led-chart-box svg { display: block; width: 100%; height: 100%; overflow: visible; }
.led-chart-tabs { display: flex; gap: 4px; margin: 10px 0 0; background: var(--led-chip); padding: 3px; border-radius: 12px; }
.led-chart-tabs button { flex: 1; font: 700 12.5px/1 var(--led-font); padding: 8px 0; border-radius: 9px; border: 0; background: transparent; color: var(--led-ink-2); cursor: pointer; }
.led-chart-tabs button[aria-pressed="true"] { background: var(--led-card); color: var(--led-ink); box-shadow: 0 1px 3px rgba(16,22,28,.12); }
.led-chart-cap { margin: 8px 2px 0; font-size: 12px; color: var(--led-ink-3); line-height: 1.5; }
.g-grid line { stroke: var(--led-line); stroke-width: 1; }
.g-axis text { fill: var(--led-ink-3); font: 600 10.5px var(--led-font); font-variant-numeric: tabular-nums; }
.g-line { fill: none; stroke: var(--led-accent); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.g-band { fill: var(--led-ok-soft); opacity: .9; }
.g-band-label { fill: var(--led-ok); font: 700 10.5px var(--led-font); paint-order: stroke; stroke: var(--led-card); stroke-width: 4px; stroke-linejoin: round; }
.g-break line { stroke: var(--led-ink-3); stroke-dasharray: 3 3; }
.g-break text { fill: var(--led-ink-3); font: 700 10.5px var(--led-font); paint-order: stroke; stroke: var(--led-card); stroke-width: 4px; stroke-linejoin: round; }
.g-ev { fill: var(--led-ink-3); }
.g-cross { stroke: var(--led-ink-3); stroke-width: 1; stroke-dasharray: 2 3; }
.g-dot { fill: var(--led-accent); stroke: var(--led-card); stroke-width: 2.5; }
.g-halo { fill: var(--led-accent); opacity: .16; }
.g-tag rect { fill: var(--led-accent); }
.g-tag text { fill: #0E1116; font: 800 11px var(--led-font); }
.led-tip { position: absolute; top: 0; pointer-events: none; padding: 7px 10px; border-radius: 10px; background: var(--led-ink); color: var(--led-card); font: 800 13px/1.3 var(--led-font); white-space: nowrap; transform: translateX(-50%); box-shadow: 0 6px 18px rgba(0,0,0,.18); z-index: 2; }
.led-tip small { display: block; font-weight: 600; font-size: 11.5px; opacity: .8; }

/* tabs */
.led-tabs { display: flex; gap: 20px; margin-top: 22px; border-bottom: 1px solid var(--led-line); overflow-x: auto; scrollbar-width: none; }
.led-tabs::-webkit-scrollbar { display: none; }
.led-tabs button { font: 700 14px var(--led-font); padding: 0 0 10px; border: 0; background: none; color: var(--led-ink-3); cursor: pointer; white-space: nowrap; }
.led-tabs button[aria-selected="true"] { color: var(--led-ink); box-shadow: inset 0 -2.5px 0 var(--led-accent); }
.led-pan { padding-top: 14px; }
.led-pan[data-hidden] { display: none; }
.led-pan-h { display: none; }
.led-detail.is-page .led-tabs { display: none; }
.led-detail.is-page .led-pan[data-hidden] { display: block; }
.led-detail.is-page .led-pan-h { display: block; font-size: 1.05rem; font-weight: 800; margin: 22px 0 8px; }
.led-lead { font-size: 15.5px; line-height: 1.55; font-weight: 600; margin: 0 0 14px; color: var(--led-ink); }
.led-pan p { font-size: 15px; line-height: 1.65; color: var(--led-ink-2); margin: 0 0 12px; max-width: 66ch; }
.led-qs { display: grid; gap: 12px; margin: 4px 0 18px; counter-reset: q; }
.led-qs div { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.led-qs div::before { counter-increment: q; content: counter(q); width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--led-accent-2); background: var(--led-accent-soft); }
.led-qs b { display: block; font-size: 14px; font-weight: 750; }
.led-qs span { font-size: 14px; color: var(--led-ink-2); line-height: 1.55; }
.led-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 6px 0 0; border-radius: 16px; overflow: hidden; background: var(--led-bg); }
.led-facts > div { padding: 10px 14px; border-top: 1px solid var(--led-line); margin-top: -1px; }
.led-facts dt { font-size: 12px; color: var(--led-ink-3); font-weight: 600; }
.led-facts dd { margin: 2px 0 0; font-size: 14px; line-height: 1.45; font-weight: 600; }
.led-timeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--led-line); display: grid; gap: 14px; }
.led-timeline li { display: grid; gap: 2px; position: relative; }
.led-timeline li::before { content: ""; position: absolute; left: -23px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--led-card); border: 3px solid var(--led-accent); }
.led-timeline b { font-size: 13px; font-weight: 800; color: var(--led-accent); }
.led-timeline span { font-size: 14.5px; line-height: 1.55; color: var(--led-ink-2); }
.led-table-wrap { overflow-x: auto; border-radius: 16px; background: var(--led-bg); }
.led-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.led-table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--led-ink-3); padding: 10px 14px; white-space: nowrap; }
.led-table td { padding: 10px 14px; border-top: 1px solid var(--led-line); white-space: nowrap; color: var(--led-ink-2); font-weight: 500; }
.led-table td b { color: var(--led-ink); font-weight: 800; }
.led-table small { display: block; font-size: 11.5px; color: var(--led-ink-3); }
.led-upsc { padding: 14px 16px; border-radius: 16px; background: var(--led-accent-soft); }
.led-upsc p { color: var(--led-ink); margin: 0 0 8px; }
.led-upsc a { font-weight: 750; color: var(--led-accent-2); font-size: 14px; }
.led-d-src { margin-top: 16px; font-size: 12.5px; line-height: 1.55; color: var(--led-ink-3); }
.led-d-src p { margin: 0 0 4px; }
.led-d-src a { color: var(--led-accent); font-weight: 700; }
.led-page { max-width: 820px; }
.led-back { margin: 16px 0 10px; font-size: 14px; }
.led-back a { color: var(--led-accent); font-weight: 700; }
.led-view-back { display: inline-flex; align-items: center; gap: 4px; font: 700 13.5px var(--led-font); color: var(--led-accent); background: none; border: 0; padding: 0 0 12px; cursor: pointer; }

/* sheet */
.led-scrim { position: fixed; inset: 0; z-index: 900; background: var(--led-scrim); opacity: 0; transition: opacity .2s ease; }
.led-scrim.is-open { opacity: 1; }
.led-sheet { position: fixed; z-index: 901; left: 0; right: 0; bottom: 0; max-height: calc(100dvh - 24px); display: flex; flex-direction: column; background: var(--led-card); border-radius: 26px 26px 0 0; box-shadow: 0 -12px 44px rgba(0,0,0,.2); transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); padding-bottom: env(safe-area-inset-bottom, 0px); }
.led-sheet.is-open { transform: translateY(0); }
.led-sheet-grab { flex: none; height: 24px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.led-sheet-grab::before { content: ""; width: 40px; height: 5px; border-radius: 3px; background: var(--led-line-2); }
.led-sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 max(18px, env(safe-area-inset-right, 0px)) 28px max(18px, env(safe-area-inset-left, 0px)); -webkit-overflow-scrolling: touch; }
.led-sheet-close { position: absolute; top: 20px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--led-chip); color: var(--led-ink-2); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 3; box-shadow: 0 0 0 5px var(--led-card); }
.led-sheet-load { padding: 26px 0; display: grid; gap: 12px; }
.led-sheet-load i { display: block; border-radius: 12px; background: var(--led-chip); }
.led-sheet-load i:nth-child(1) { width: 50%; height: 24px; }
.led-sheet-load i:nth-child(2) { width: 40%; height: 48px; }
.led-sheet-load i:nth-child(3) { width: 100%; height: 200px; }
@media (min-width: 760px) {
  .led-sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: min(760px, calc(100vw - 48px)); max-height: min(88vh, 920px); border-radius: 26px; transform: translate(-50%, -47%) scale(.98); opacity: 0; transition: transform .22s ease, opacity .22s ease; }
  .led-sheet.is-open { transform: translate(-50%, -50%); opacity: 1; }
  .led-sheet-grab { height: 14px; }
  .led-sheet-grab::before { display: none; }
  .led-sheet-body { padding: 10px 30px 30px; }
}
.led-sheet[hidden], .led-scrim[hidden] { display: none !important; }
html.led-lock, html.led-lock body { overflow: hidden; }
.led :focus-visible, .led-sheet :focus-visible { outline: 2.5px solid var(--led-accent); outline-offset: 2px; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { .led-k, .led-tile, .led-dc, .led-sheet, .led-scrim, .led-dot i, .led-hero-nav { transition: none; } .led-dot.is-on i::after { animation: none !important; } }

/* ── the portal frame: own bar, live ticker, own footer (owner, 12 Nov: "a separate portal … should look a little different") ── */
.ledp { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--led-card) 88%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--led-line); font-family: var(--led-font); color: var(--led-ink); }
.ledp-in { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; }
.ledp-brand { display: flex; align-items: center; gap: 10px; color: var(--led-ink); text-decoration: none; min-width: 0; }
.ledp-brand svg { width: 32px; height: 32px; flex: none; }
.ledp-brand span { display: grid; line-height: 1.15; }
.ledp-brand b { font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.ledp-brand small { font-size: 11.5px; font-weight: 600; color: var(--led-ink-3); }
.ledp-nav { display: flex; align-items: center; gap: 4px; }
.ledp-nav a { font-size: 13.5px; font-weight: 700; color: var(--led-ink-2); padding: 8px 12px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.ledp-nav a:hover { background: var(--led-chip); color: var(--led-ink); }
.ledp-nav .ledp-out { color: var(--led-accent); }
@media (max-width: 560px) { .ledp-nav a:not(.ledp-out) { display: none; } .ledp-nav .ledp-out { padding: 8px 10px; font-size: 12.5px; } }
.ledp-tick { overflow-x: auto; scrollbar-width: none; background: var(--led-accent-soft); border-top: 1px solid color-mix(in srgb, var(--led-accent) 12%, transparent); scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.ledp-tick::-webkit-scrollbar { display: none; }
.ledp-tick-set { display: flex; width: max-content; margin: 0 auto; padding-left: max(4px, env(safe-area-inset-left, 0px)); padding-right: max(4px, env(safe-area-inset-right, 0px)); }
.ledp-ti { scroll-snap-align: start; position: relative; }
.ledp-new { position: absolute; top: 7px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--led-accent); }
.ledp-ti { display: flex; align-items: baseline; gap: 7px; padding: 9px 18px; font-size: 13px; color: var(--led-ink-2); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; border-right: 1px solid color-mix(in srgb, var(--led-accent) 14%, transparent); }
.ledp-ti b { color: var(--led-ink); font-weight: 800; }
.ledp-ti i { font-style: normal; font-size: 10px; color: var(--led-ink-3); }
.ledp-ti:hover b { color: var(--led-accent-2); }
.ledp-foot { margin-top: 28px; padding-block: 28px 40px; background: var(--led-card); box-shadow: 0 -1px 0 var(--led-line); font-family: var(--led-font); color: var(--led-ink-2); }
.ledp-foot .ledp-in { display: grid; justify-content: stretch; gap: 14px; min-height: 0; }
.ledp-foot p { margin: 0; font-size: 13px; line-height: 1.6; max-width: 760px; color: var(--led-ink-3); }
.ledp-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ledp-foot nav a { font-size: 13.5px; font-weight: 700; color: var(--led-accent); text-decoration: none; }
.led-title { margin-top: 20px; }

/* quick look (hover on desktop, first tap on phones) */
.led-q { box-sizing: border-box; position: fixed; z-index: 880; top: 0; left: 0; display: grid; gap: 8px; padding: 14px 14px 12px; background: var(--led-card); color: var(--led-ink); border-radius: 18px; box-shadow: 0 0 0 1px var(--led-line), 0 18px 48px rgba(16,22,28,.22); font-family: var(--led-font); font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(4px) scale(.985); transition: opacity .14s ease, transform .14s ease; max-height: calc(100dvh - 24px); overflow-y: auto; }
.led-q.is-on { opacity: 1; transform: none; }
.led-q[hidden] { display: none !important; }
.led-q-h { display: flex; align-items: center; gap: 10px; padding-right: 30px; position: relative; }
.led-q-h .led-ill { width: 34px; height: 34px; }
.led-q-h div { display: grid; line-height: 1.2; min-width: 0; }
.led-q-h b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.led-q-h small { font-size: 12px; color: var(--led-ink-3); font-weight: 600; }
.led-q-x { position: absolute; right: -4px; top: -4px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--led-chip); color: var(--led-ink-2); font-size: 17px; cursor: pointer; }
.led-q-v { display: flex; align-items: baseline; gap: 8px; }
.led-q-v span { font-size: 28px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.led-q-v em { font-style: normal; font-size: 12px; font-weight: 700; background: var(--led-chip); padding: 3px 8px; border-radius: 999px; }
.led-q-pl { font-size: 12.5px; color: var(--led-ink-3); font-weight: 600; margin-top: -4px; }
.led-q-o { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--led-ink-2); }
.led-q-chart { display: block; width: 100%; height: 74px; }
.led-q-line { fill: none; stroke: var(--led-accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.led-q-ref { stroke: var(--led-line); stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.led-q-dot { fill: var(--led-accent); stroke: var(--led-card); stroke-width: 2; }
.led-q *, .led-q *::before, .led-q *::after { box-sizing: border-box; }
.led-q-axis { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--led-ink-3); font-weight: 600; margin-top: -4px; }
.led-q-dl { margin: 2px 0 0; display: grid; gap: 0; border-radius: 12px; background: var(--led-bg); overflow: hidden; }
.led-q-dl div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; padding: 7px 10px; border-top: 1px solid var(--led-line); }
.led-q-dl div:first-child { border-top: 0; }
.led-q-dl dt { font-size: 11.5px; color: var(--led-ink-3); font-weight: 600; }
.led-q-dl dd { margin: 0; font-size: 12.5px; line-height: 1.4; font-weight: 600; }
.led-q-about { margin: 0; font-size: 12px; line-height: 1.5; color: var(--led-ink-3); }
.led-q-go { margin-top: 2px; border: 0; border-radius: 12px; padding: 11px 12px; background: var(--led-accent); color: #0E1116; font: 750 13.5px/1 var(--led-font); cursor: pointer; }
.led-q-go:hover { background: var(--led-accent-2); }
@media (prefers-reduced-motion: reduce) { .led-q { transition: none; } }

/* card titles: the capital abbreviation first, the full name under it */
.led-k-n { display: grid; min-width: 0; line-height: 1.15; }
.led-k-n b { font-size: 13px; font-weight: 800; color: var(--led-ink); letter-spacing: .01em; }
.led-k-n small { font-size: 11.5px; line-height: 1.25; font-weight: 600; color: var(--led-ink-3); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } /* full forms wrap, never cut mid-word */

/* chart subtitle, event key, source line (survey: FT / ONS chart rules) */
.led-chart-sub { display: grid; gap: 1px; margin: 0 2px 6px; }
.led-chart-sub b { font-size: 13px; font-weight: 700; color: var(--led-ink-2); line-height: 1.35; }
.led-chart-range { font-size: 12px; font-weight: 600; color: var(--led-ink-3); }
.g-evm line { stroke: var(--led-ink-3); stroke-width: 1; stroke-dasharray: 1 3; opacity: .7; }
.g-evm circle { fill: var(--led-card); stroke: var(--led-ink-2); stroke-width: 1.5; }
.g-evm text { fill: var(--led-ink); font: 800 10px var(--led-font); }
.led-chart-ev { list-style: none; margin: 10px 2px 0; padding: 0; display: grid; gap: 6px; }
.led-chart-ev:empty { display: none; }
.led-chart-ev li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; font-size: 12.5px; line-height: 1.45; color: var(--led-ink-2); }
.led-chart-ev li b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; color: var(--led-ink); box-shadow: inset 0 0 0 1.5px var(--led-ink-2); }
.led-chart-ev li em { font-style: normal; font-weight: 700; color: var(--led-ink); }
.led-chart-src { margin: 6px 2px 0; font-size: 11.5px; color: var(--led-ink-3); font-weight: 600; }
/* statistics strip */
.led-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; margin: 16px 0 0; border-radius: 16px; overflow: hidden; background: var(--led-bg); }
.led-stats > div { padding: 10px 12px; box-shadow: inset -1px 0 0 var(--led-line); min-width: 0; }
.led-stats > div:last-child { box-shadow: none; }
.led-stats dt { font-size: 11.5px; color: var(--led-ink-3); font-weight: 600; }
.led-stats dd { margin: 2px 0 0; display: grid; }
.led-stats dd b { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.led-stats dd small { font-size: 11px; color: var(--led-ink-3); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.led-pctl { margin: 8px 2px 0; font-size: 13px; font-weight: 600; color: var(--led-ink-2); }
/* read with */
.led-rws { margin-top: 16px; display: grid; gap: 8px; }
.led-rws-h { font-size: 12.5px; font-weight: 700; color: var(--led-ink-3); }
.led-rws-row { display: flex; flex-wrap: wrap; gap: 8px; } /* all related figures in view, no hidden swipe row */
.led-rws-row::-webkit-scrollbar { display: none; }
.led-rw { flex: none; display: flex; align-items: baseline; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--led-chip); font-size: 12.5px; font-weight: 600; color: var(--led-ink-2); }
.led-rw b { color: var(--led-ink); font-weight: 800; }
.led-rw:hover { box-shadow: inset 0 0 0 1.5px var(--led-accent); }
.led-csv { margin-top: 12px; border: 0; border-radius: 12px; padding: 10px 14px; background: var(--led-chip); color: var(--led-ink); font: 700 13px var(--led-font); cursor: pointer; }
.led-chart-box svg:focus:not(:focus-visible) { outline: none; }
.led-chart-box svg:focus-visible { outline: 2px solid var(--led-accent); outline-offset: 4px; border-radius: 6px; }

/* exam facts at the top of every figure (owner, 12 Nov: who releases it comes first, with the base year) */
.led-id { margin: 16px 0 0; padding: 14px 16px; border-radius: 18px; background: var(--led-accent-soft); border: 1px solid color-mix(in srgb, var(--led-accent) 24%, transparent); }
.led-id-pub { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid color-mix(in srgb, var(--led-accent) 20%, transparent); }
.led-id-k, .led-id-grid dt { font-size: 11.5px; font-weight: 700; color: var(--led-accent-2); }
.led-id-pub b { font-size: 16px; line-height: 1.3; font-weight: 800; color: var(--led-ink); }
.led-id-pub span { font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--led-ink-2); }
.led-id-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px 16px; margin: 12px 0 0; }
.led-id-grid dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.3; font-weight: 750; color: var(--led-ink); }
.led-id-grid dd small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.4; font-weight: 600; color: var(--led-ink-2); }
@media (min-width: 760px) {
  .led-id { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 18px; align-items: start; }
  .led-id-pub { padding: 0 18px 0 0; border-bottom: 0; border-right: 1px solid color-mix(in srgb, var(--led-accent) 20%, transparent); height: 100%; }
  .led-id-grid { margin: 0; }
}
/* range tabs and Compare on one bar; a dashed second line in its own colour */
.led-chart-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 0; }
.led-chart-bar .led-chart-tabs { margin: 0; flex: 1 1 240px; }
.led-cmp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.led-cmp > span { font-size: 12px; font-weight: 700; color: var(--led-ink-3); margin-right: 2px; }
.led-cmp button { font: 700 12.5px/1 var(--led-font); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--led-line-2); background: transparent; color: var(--led-ink-2); cursor: pointer; }
.led-cmp button[aria-pressed="true"] { border-color: var(--led-compare); color: var(--led-compare); background: color-mix(in srgb, var(--led-compare) 12%, transparent); }
.led-chart-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 2px 0; font-size: 12px; font-weight: 700; color: var(--led-ink-2); }
.led-chart-legend[hidden] { display: none; }
.led-chart-legend span::before { content: ""; display: inline-block; width: 18px; margin-right: 6px; vertical-align: middle; border-top: 2.5px solid var(--led-accent); }
.led-chart-legend .k-cmp::before { border-top: 2.5px dashed var(--led-compare); }
.g-cmp { fill: none; stroke: var(--led-compare); stroke-width: 2; stroke-dasharray: 5 4; stroke-linejoin: round; stroke-linecap: round; }
.led-tip small.is-cmp { color: #7A4F00; }
/* the event key folds into one line */
.led-ev { margin: 10px 2px 0; }
.led-ev[hidden] { display: none; }
.led-ev summary { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--led-ink-2); cursor: pointer; list-style: none; padding: 4px 0; }
.led-ev summary::-webkit-details-marker { display: none; }
.led-ev summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s ease; }
.led-ev[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.led-ev-n { color: var(--led-ink-3); }
.led-ev .led-chart-ev { margin-top: 8px; }
/* source line actions */
.led-d-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 10px !important; }
.led-cite { font: 700 12.5px/1 var(--led-font); color: var(--led-accent-2); background: var(--led-accent-soft); border: 0; padding: 9px 13px; border-radius: 999px; cursor: pointer; }
.led-k-by { display: block; margin-top: -2px; font-size: 11px; font-weight: 700; color: var(--led-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.led-q-by { display: grid; gap: 1px; margin: 10px 0 0; padding: 9px 11px; border-radius: 12px; background: var(--led-accent-soft); }
.led-q-by span { font-size: 11px; font-weight: 700; color: var(--led-accent-2); }
.led-q-by b { font-size: 13px; line-height: 1.35; font-weight: 750; color: var(--led-ink); }

/* Budget and Economic Survey (owner, 12 Nov: revenue, spending, revisions, the gap and the deficits) */
.led-bs { display: grid; gap: 12px; }
@media (min-width: 900px) { .led-bs { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; } }
.led-bud { display: grid; gap: 14px; align-content: start; padding: 16px; transition: transform .15s ease; }
.led-bud:active { transform: scale(.99); }
.led-bud-top { display: flex; align-items: center; gap: 12px; }
.led-bud-top > span { display: grid; min-width: 0; }
.led-bud-top b { font-size: 16.5px; font-weight: 800; letter-spacing: -.015em; }
.led-bud-top small { font-size: 12px; font-weight: 600; color: var(--led-ink-3); }
.led-gap-bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; gap: 2px; background: var(--led-line); }
.led-gap.is-big .led-gap-bar { height: 26px; }
.led-gap-bar i { display: block; height: 100%; }
.g-earn { background: var(--led-accent); }
.g-cap { background: #4FB3D9; }
.g-borrow { background: var(--led-compare); }
.led-gap-key { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.led-gap-key span { display: grid; gap: 2px; font-size: 11.5px; line-height: 1.3; font-weight: 600; color: var(--led-ink-2); padding-left: 10px; border-left: 3px solid var(--led-accent); }
.led-gap-key .k-cap { border-left-color: #4FB3D9; }
.led-gap-key .k-borrow { border-left-color: var(--led-compare); }
.led-gap-key b { font-size: 15px; font-weight: 800; color: var(--led-ink); letter-spacing: -.01em; }
.led-gap-total { margin: 10px 0 0; font-size: 12.5px; font-weight: 600; color: var(--led-ink-3); }
.led-gap-total b { color: var(--led-ink); font-weight: 800; }
.led-dfs { display: grid; gap: 6px; }
.led-dfs-h { font-size: 12px; font-weight: 700; color: var(--led-ink-3); }
.led-dfs-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.led-dfc { display: grid; gap: 1px; padding: 8px 9px; border-radius: 12px; background: var(--led-chip); }
.led-dfc small { font-size: 10.5px; font-weight: 700; color: var(--led-ink-3); line-height: 1.2; }
.led-dfc b { font-size: 15px; font-weight: 800; }
.led-more { font-size: 13px; font-weight: 750; color: var(--led-accent-2); }
.led-sv-theme { font-size: 14px; line-height: 1.45; font-weight: 650; color: var(--led-ink); }
.led-sv-keys { display: grid; gap: 8px; }
.led-sv-keys > span { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; padding: 9px 11px; border-radius: 12px; background: var(--led-chip); }
.led-sv-keys b { font-size: 15.5px; font-weight: 800; white-space: nowrap; }
.led-sv-keys small { font-size: 12px; line-height: 1.35; font-weight: 600; color: var(--led-ink-2); }
.led-bh { margin: 24px 0 8px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.led-bp { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: var(--led-ink-2); }
.led-btab th[scope="row"] { font-weight: 700; color: var(--led-ink); white-space: normal; min-width: 128px; text-align: left; }
.led-btab th[scope="row"] small { display: block; margin-top: 2px; font-size: 11px; line-height: 1.35; font-weight: 500; color: var(--led-ink-3); }
.led-btab thead th { line-height: 1.25; text-align: right; }
.led-btab thead th:first-child { text-align: left; }
.led-btab td { text-align: right; font-weight: 650; color: var(--led-ink); }
.led-btab tr.is-sub th[scope="row"] { padding-left: 24px; font-weight: 600; color: var(--led-ink-2); }
.led-btab tr.is-sub td { color: var(--led-ink-2); font-weight: 500; }
.led-btab td, .led-btab th { padding: 9px 10px; }
.led-btab td:last-child, .led-btab thead th:last-child { background: color-mix(in srgb, var(--led-accent) 8%, transparent); }
.led-btw { position: relative; }
.led-btab th[scope="row"] { position: sticky; left: 0; background: var(--led-card); z-index: 1; }
.led-revs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.led-revs li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 11px 13px; border-radius: 14px; background: var(--led-chip); }
.led-revs li > b { font-size: 13.5px; font-weight: 750; }
.led-revs em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--led-ink-2); justify-self: end; }
.led-rev-chain { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: end; gap: 6px 10px; }
.led-rev-chain span { display: grid; font-size: 15px; font-weight: 800; }
.led-rev-chain small { font-size: 10.5px; font-weight: 700; color: var(--led-ink-3); }
.led-rev-chain i { font-style: normal; color: var(--led-ink-3); padding-bottom: 2px; }
.led-rev-n { grid-column: 1 / -1; font-size: 12px; line-height: 1.45; color: var(--led-ink-3); }
.led-rupee { display: grid; gap: 14px; }
@media (min-width: 640px) { .led-rupee { grid-template-columns: 1fr 1fr; } }
.led-rupee h4 { margin: 0 0 6px; font-size: 13px; font-weight: 750; color: var(--led-ink-2); }
.led-rupee ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.led-rupee li { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; font-size: 12.5px; line-height: 1.3; font-weight: 600; color: var(--led-ink-2); }
.led-rupee li b { font-weight: 800; color: var(--led-ink); }
.led-rupee li i { grid-column: 1 / -1; display: block; height: 6px; border-radius: 999px; background: var(--led-accent); max-width: 100%; }
.led-rupee div:last-child li i { background: var(--led-compare); }
.led-svf { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.led-svf li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 11px 13px; border-radius: 14px; background: var(--led-chip); }
.led-svf li > span { display: grid; gap: 2px; }
.led-svf li > span b { font-size: 13.5px; line-height: 1.35; font-weight: 700; }
.led-svf li > span small { font-size: 12px; line-height: 1.4; color: var(--led-ink-3); font-weight: 500; }
.led-svf em { font-style: normal; font-size: 15.5px; font-weight: 800; text-align: right; }
.led-svf-c { grid-column: 1 / -1; font-size: 11px; font-weight: 600; color: var(--led-ink-3); }
.led-allx summary { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--led-ink-2); cursor: pointer; list-style: none; padding: 6px 0; }
.led-allx summary::-webkit-details-marker { display: none; }
.led-allx summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.led-allx[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.led-allx .led-all { margin-top: 8px; }

/* RBI policy rates: the corridor on one line, the reverse repo below it (owner, 12 Nov) */
.led-pol { margin-top: 12px; padding: 16px; }
.led-pol-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.led-pol-top h2 { margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -.015em; }
.led-pol-top small { font-size: 12px; font-weight: 600; color: var(--led-ink-3); }
.led-pol-line { position: relative; height: 92px; margin: 10px 12px 4px; }
.led-pol-axis { position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: var(--led-line-2); border-radius: 2px; }
.led-pol-axis span { position: absolute; top: 10px; transform: translateX(-50%); font-size: 10.5px; font-weight: 700; color: var(--led-ink-3); }
.led-pol-axis span::before { content: ""; position: absolute; left: 50%; top: -12px; width: 1px; height: 6px; background: var(--led-line-2); }
.led-pol-band { position: absolute; top: 39px; height: 16px; border-radius: 8px; background: color-mix(in srgb, var(--led-accent) 30%, transparent); border: 1px solid color-mix(in srgb, var(--led-accent) 60%, transparent); }
.led-pol-dot { font-style: normal; position: absolute; top: 40px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--led-accent); box-shadow: 0 0 0 3px var(--led-card); }
.led-pol-dot b { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 800; color: var(--led-ink); padding: 3px 8px; border-radius: 999px; background: var(--led-accent-soft); }
.led-pol-dot.is-rr { background: var(--led-compare); }
.led-pol-dot.is-rr b { background: var(--led-warn-soft); }
.led-pol-cap { position: absolute; top: 74px; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 11px; font-weight: 700; color: var(--led-accent-2); }
.led-pol-rows { display: grid; margin-top: 6px; }
@media (min-width: 720px) { .led-pol-rows { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.led-pol-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--led-line); }
.led-pol-row span { display: grid; gap: 1px; min-width: 0; }
.led-pol-row b { font-size: 14px; font-weight: 750; }
.led-pol-row small { font-size: 11.5px; line-height: 1.35; font-weight: 600; color: var(--led-ink-3); }
.led-pol-row strong { font-size: 16px; font-weight: 800; white-space: nowrap; }
.led-pol-row.is-repo strong { color: var(--led-accent); }
.led-hero-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin: 14px 0 12px; align-self: end; }
.led-hero-facts > span { display: grid; gap: 1px; padding: 10px 11px; border-radius: 14px; background: var(--led-chip); }
.led-hero-facts small { font-size: 11px; font-weight: 700; color: var(--led-ink-3); }
.led-hero-facts b { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.led-hero-facts em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--led-ink-2); }
.led-btab tr.is-l2 th[scope="row"] { padding-left: 38px; font-weight: 500; font-size: 13px; }
.led-btab tr.is-memo th[scope="row"], .led-btab tr.is-memo td { color: var(--led-ink-3); font-weight: 600; }
.led-btab tr.is-memo:not(.is-sub) th, .led-btab tr.is-memo:not(.is-sub) td { border-top: 1px dashed var(--led-line-2); }
.led-conf ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 12.5px; line-height: 1.5; color: var(--led-ink-2); }
.led-gap-h { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--led-ink-3); }
/* Budget tables: newest column large on the right, earlier columns as a small line (phones); five columns from 720 px */
.led-bt { display: grid; border-radius: 16px; background: var(--led-bg); overflow: hidden; }
.led-bt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l n" "h h"; column-gap: 12px; row-gap: 3px; padding: 10px 14px; border-top: 1px solid var(--led-line); align-items: baseline; }
.led-bt-row.is-head { border-top: 0; padding-block: 9px; font-size: 11.5px; font-weight: 700; color: var(--led-ink-3); }
.led-bt-row.is-head .led-bt-h { display: none; }
.led-bt-row.is-head .led-bt-n { font-size: 11.5px; color: var(--led-accent-2); }
.led-bt-l { grid-area: l; display: grid; gap: 2px; min-width: 0; }
.led-bt-l b { font-size: 14px; font-weight: 750; line-height: 1.3; }
.led-bt-l small { font-size: 11.5px; line-height: 1.4; color: var(--led-ink-3); font-weight: 500; }
.led-bt-n { grid-area: n; font-size: 16px; font-weight: 800; text-align: right; white-space: nowrap; }
.led-bt-h { grid-area: h; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 11.5px; font-weight: 600; color: var(--led-ink-3); }
.led-bt-h span::before { content: attr(data-c) " "; font-weight: 600; opacity: .85; }
.led-bt-h span { color: var(--led-ink-2); font-weight: 700; }
.led-bt-row.is-l1 { padding-left: 28px; }
.led-bt-row.is-l2 { padding-left: 42px; }
.led-bt-row.is-l1 .led-bt-l b, .led-bt-row.is-l2 .led-bt-l b { font-weight: 600; color: var(--led-ink-2); }
.led-bt-row.is-l1 .led-bt-n, .led-bt-row.is-l2 .led-bt-n { font-size: 14.5px; font-weight: 700; color: var(--led-ink-2); }
.led-bt-row.is-memo { background: color-mix(in srgb, var(--led-chip) 60%, transparent); }
.led-bt-row.is-memo .led-bt-l b::before { content: "Memo · "; color: var(--led-ink-3); font-weight: 600; }
.led-bt-row.is-memo.is-l1 .led-bt-l b::before { content: ""; }
@media (min-width: 720px) {
  .led-bt-row { grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)); grid-template-areas: none; align-items: center; }
  .led-bt-l { grid-area: auto; }
  .led-bt-h { display: contents; }
  .led-bt-row.is-head .led-bt-h { display: contents; }
  .led-bt-h span, .led-bt-n { grid-area: auto; text-align: right; font-size: 14px; }
  .led-bt-h span::before { content: none; }
  .led-bt-row.is-head span { text-align: right; }
  .led-bt-row.is-head .led-bt-l { text-align: left; }
  .led-bt-n { color: var(--led-ink); background: color-mix(in srgb, var(--led-accent) 8%, transparent); margin: -10px -14px -10px 0; padding: 10px 14px; align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
}

/* Ring charts: where the rupee comes from and goes to, legend largest first (owner, 12 Nov) */
.led-bs.has-3 { grid-template-columns: 1fr; }
@media (min-width: 900px) { .led-bs.has-3 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); } }
.led-rc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.led-rc-col { display: grid; justify-items: center; align-content: start; gap: 8px; }
.led-ring.is-mini svg { width: 104px; height: 104px; }
.led-rc-t { display: grid; gap: 3px; width: 100%; }
.led-rc-t b { font-size: 12.5px; font-weight: 750; color: var(--led-ink-2); text-align: center; margin-bottom: 2px; }
.led-rc-t span { font-size: 12px; line-height: 1.3; font-weight: 600; color: var(--led-ink-2); display: grid; grid-template-columns: 30px 1fr; gap: 4px; }
.led-rc-t em { font-style: normal; font-weight: 800; color: var(--led-ink); text-align: right; }
.led-rings { display: grid; gap: 8px; }
@media (min-width: 720px) {
  .led-ring:not(.is-mini) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; column-gap: 20px; }
  .led-ring-svg.is-big { width: 100%; margin-inline: 0; }
}
.led-ring { display: grid; gap: 14px; }
.led-ring-svg { display: block; width: 210px; height: 210px; margin: 0 auto; overflow: visible; }
.led-ring-svg.is-big { width: calc(100% + 16px); max-width: 480px; height: auto; margin-inline: -8px; }
.led-ring-s { fill: none; stroke-width: 17; transition: opacity .15s ease, stroke-width .15s ease; cursor: pointer; }
.led-ring-svg.is-big .led-ring-s { stroke-width: 46; }
.led-ring.is-mini .led-ring-s { stroke-width: 18; cursor: inherit; }
.led-ring-c { fill: var(--led-ink); font: 800 19px var(--led-font); }
.led-ring.is-mini .led-ring-c { font-size: 20px; }
.led-ring-cs { fill: var(--led-ink-3); font: 700 9px var(--led-font); }
.led-ring.is-on .led-ring-s:not(.is-hl), .led-ring.is-on .led-ring-v:not(.is-hl), .led-ring.is-on .led-ring-lab:not(.is-hl) { opacity: .25; }
.led-ring .led-ring-svg.is-big .led-ring-s.is-hl { stroke-width: 52; }
.led-ring-svg.is-big .led-ring-c { font-size: 32px; }
.led-ring-svg.is-big .led-ring-cs { font-size: 12.5px; font-weight: 700; }
.led-ring-v { fill: #0E1116; font: 800 15px var(--led-font); pointer-events: none; transition: opacity .15s ease; }
.led-ring-lab { cursor: pointer; transition: opacity .15s ease; }
.led-ring-lab text { fill: var(--led-ink); font: 650 13px var(--led-font); }
.led-ring-lab polyline { fill: none; stroke: var(--led-ink-3); stroke-width: 1.2; opacity: .7; }
.led-ring-lv { font-weight: 800; }
.led-ring-lab.is-hl text { fill: var(--led-accent-2); }
.led-ring-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.led-ring-l li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; column-gap: 9px; row-gap: 4px; padding: 6px 8px; border-radius: 10px; font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--led-ink-2); cursor: pointer; }
.led-ring-l li i { width: 10px; height: 10px; border-radius: 3px; }
.led-ring-l li b { font-weight: 800; color: var(--led-ink); }
.led-ring-l li em { grid-column: 2 / -1; display: block; height: 5px; border-radius: 999px; opacity: .9; }
.led-ring-l li.is-hl { background: var(--led-chip); color: var(--led-ink); }
.led-ring-l li:focus-visible { outline: 2px solid var(--led-accent); outline-offset: 1px; }
.led-golink { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: var(--led-accent-soft); border: 1px solid color-mix(in srgb, var(--led-accent) 24%, transparent); }
.led-golink span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.led-golink b { font-size: 14.5px; font-weight: 800; }
.led-golink small { font-size: 12px; font-weight: 600; color: var(--led-ink-2); }
.led-golink i { font-style: normal; font-size: 18px; color: var(--led-accent-2); }
@media (prefers-reduced-motion: reduce) { .led-ring-s { transition: none; } }
.led-di { margin: 4px 0 18px; }
.led-di-bar { display: flex; gap: 2px; height: 14px; border-radius: 999px; overflow: hidden; }
.led-di-bar i { display: block; height: 100%; }
.led-di-bar .is-d { background: #4F8CFF; }
.led-di-bar .is-i { background: #14C2A3; }
.led-di-key { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.led-di-key span { display: grid; gap: 2px; padding-left: 10px; border-left: 3px solid #4F8CFF; font-size: 12.5px; font-weight: 650; color: var(--led-ink-2); }
.led-di-key span.is-i { border-left-color: #14C2A3; }
.led-di-key b { font-size: 18px; font-weight: 800; color: var(--led-ink); }
.led-di-key small { font-size: 11.5px; font-weight: 500; color: var(--led-ink-3); }
.led-tax-ring { margin-bottom: 16px; }
.led-tax-ring .led-ring-svg.is-big .led-ring-c { font-size: 25px; }
/* main-screen tax card: ring in per cent with the taxes ranked (owner: per cent is what students remember) */
.led-mc { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 14px; }
.led-mc .led-ring.is-mini svg { width: 132px; height: 132px; }
.led-mc .led-ring.is-mini .led-ring-s { stroke-width: 20; }
.led-mc .led-ring.is-mini .led-ring-c { font-size: 15px; }
.led-mc .led-ring.is-mini .led-ring-cs { font-size: 8.5px; }
.led-mc-l { display: grid; gap: 6px; }
.led-mc-l span { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--led-ink-2); }
.led-mc-l i { width: 10px; height: 10px; border-radius: 3px; }
.led-mc-l b { font-weight: 800; color: var(--led-ink); }
.led-mc-di { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.led-mc-di span { padding: 8px 10px; border-radius: 12px; background: var(--led-chip); font-size: 12px; font-weight: 700; color: var(--led-ink-2); border-left: 3px solid #4F8CFF; }
.led-mc-di span.is-i { border-left-color: #14C2A3; }
.led-mc-di b { font-size: 15px; font-weight: 800; color: var(--led-ink); margin-left: 4px; }
.led-bh4 { margin: 14px 0 6px; font-size: 13.5px; font-weight: 750; color: var(--led-ink-2); }

/* the light/dark switch: a small half-filled ring in the portal bar */
.ledp-theme { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--led-line-2); background: var(--led-card); color: var(--led-ink-2); cursor: pointer; flex: none; }
.ledp-theme svg { width: 18px; height: 18px; }
.ledp-theme:hover { color: var(--led-ink); border-color: var(--led-accent); }
.ledp-theme:focus-visible { outline: 2px solid var(--led-accent); outline-offset: 2px; }
/* full form under the title, and the story sections */
.led-d-full { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--led-ink-2); }
.led-d-full b { color: var(--led-accent-2); font-weight: 800; }
.led-st { margin: 18px 0 0; }
.led-st h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 6px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--led-ink); }
.led-st h3 small { font-size: 11.5px; font-weight: 700; color: var(--led-accent-2); background: var(--led-accent-soft); padding: 3px 8px; border-radius: 999px; }
.led-st p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--led-ink-2); }
.led-st-now { padding: 14px 16px 6px; border-radius: 16px; background: var(--led-accent-soft); border: 1px solid color-mix(in srgb, var(--led-accent) 22%, transparent); }
.led-st-now p { color: var(--led-ink); }
.led-st-stale { font-size: 12.5px !important; color: var(--led-warn) !important; font-weight: 700; }
.led-terms { margin-top: 16px; }
.led-terms dl { display: grid; gap: 6px; margin: 10px 0 0; }
.led-terms dl > div { display: grid; grid-template-columns: minmax(64px, auto) 1fr; gap: 10px; font-size: 13px; line-height: 1.4; }
.led-terms dt { font-weight: 800; color: var(--led-ink); }
.led-terms dd { margin: 0; color: var(--led-ink-2); }
@media (max-width: 420px) { .ledp-out-x { display: none; } .ledp-nav { gap: 6px; } .ledp-brand b { font-size: 14.5px; } .ledp-theme { width: 32px; height: 32px; } }
/* Remind me: a small menu when browser alerts are on */
.led-remind.is-small { margin-top: 8px; padding: 7px 11px; font-size: 12px; }
.led-remind svg { width: 15px; height: 15px; }
.led-rmenu { position: fixed; z-index: 1300; display: grid; gap: 4px; padding: 6px; border-radius: 16px; background: var(--led-card); box-shadow: var(--led-sh2); border: 1px solid var(--led-line-2); }
.led-rmenu button { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--led-ink); font: 750 14px/1.25 var(--led-font); cursor: pointer; }
.led-rmenu button:hover, .led-rmenu button:focus-visible { background: var(--led-chip); outline: none; }
.led-rmenu small { font-size: 12px; font-weight: 600; color: var(--led-ink-3); }
