/* The relaunch landing (index.php), drawn as pictures and approved on 30.10.2026:
   docs/product/design/landing-2026-10-30/codex/images/v2. One container, one type scale, one indigo.
   Product windows use the app's own light palette (assets/tokens.css, native workspace) so they read as the app. */

@font-face { font-family: 'TSB Inter'; src: url('/assets/fonts/Inter-Regular-ui.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'TSB Inter'; src: url('/assets/fonts/Inter-Medium-ui.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'TSB Inter'; src: url('/assets/fonts/Inter-SemiBold-ui.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
/* The canonical risk notice (includes/risk-disclosures.php) names Inter; serve it the same local files. */
@font-face { font-family: Inter; src: url('/assets/fonts/Inter-Regular-ui.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('/assets/fonts/Inter-SemiBold-ui.woff2') format('woff2'); font-weight: 600 800; font-display: swap; }
@font-face { font-family: 'TSB Display'; src: url('/assets/fonts/landing/Inter-Display-Heavy-latin.woff2') format('woff2'); font-weight: 800 900; font-display: swap; }
@font-face { font-family: 'TSB Hand'; src: url('/assets/fonts/landing/Caveat-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
    /* Brand: the app accent (--ui-accent). Every indigo on the page is this token or a mix of it. */
    --lr-accent: #443ab8;
    --lr-accent-hover: color-mix(in srgb, var(--lr-accent) 86%, black);
    --lr-accent-soft: color-mix(in srgb, var(--lr-accent) 10%, white);
    --lr-accent-tint: color-mix(in srgb, var(--lr-accent) 4%, white);
    --lr-accent-line: color-mix(in srgb, var(--lr-accent) 32%, white);

    /* Marketing text and surfaces (shared public palette). */
    --lr-ink: #121322;
    --lr-muted: #6b6b75;
    --lr-line: #e3e5ec;
    --lr-soft: #f6f7fb;

    /* Product windows: the app's light workspace palette. */
    --lr-app-ink: #20231f;
    --lr-app-muted: #696d69;
    --lr-app-line: #e7e8e3;
    --lr-app-border: #dcded6;
    --lr-app-soft: #f7f7f5;
    --lr-app-raised: #f1f1ee;
    --lr-gain: #2f7d54;
    --lr-gain-bar: #3fa36b;
    --lr-gain-soft: #e8f8ee;
    --lr-loss: #bf2d23;
    --lr-loss-soft: #ffeeeb;

    --lr-font: 'TSB Inter', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --lr-display: 'TSB Display', 'TSB Inter', Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    --lr-hand: 'TSB Hand', 'Segoe Print', 'Bradley Hand', cursive;

    /* One type scale. */
    /* Three display levels: L the hero and the proof numbers, M every section heading, S every lead and subline. */
    --lr-t-hero: clamp(38px, 4.5vw, 74px);
    --lr-t-h2: clamp(32px, 3vw, 44px);
    --lr-t-lead: clamp(20px, 1.8vw, 26px);
    --lr-t-sub: var(--lr-t-lead);
    --lr-t-lg: 18px;
    --lr-t-body: 16px;
    --lr-t-small: 14px;
    --lr-t-hand: clamp(30px, 2.9vw, 46px);

    /* One spacing scale: between sections, a smaller step, and inside cells. */
    --lr-space-section: clamp(72px, 7.2vw, 104px);
    --lr-space-step: clamp(56px, 5.6vw, 80px);
    --lr-space-cell: clamp(24px, 2.8vw, 40px);
    --lr-page: 1400px;
    --lr-inner: 1240px;
    --lr-gutter: 48px;
    --lr-nav-h: 64px;
    --lr-radius-control: 6px;
    --lr-radius-button: 8px;
    --lr-radius-card: 12px;
    --lr-shadow-card: 0 1px 2px rgba(18, 19, 34, .04), 0 12px 32px rgba(18, 19, 34, .06);
    --lr-ease: cubic-bezier(.2, .8, .2, 1);
}
/* The landing's 26 Nov port: the copy's rules that other pages' elements could match are scoped :where(.lr-landing-page) (the
   landing's body), and the rules they replaced stay for every other page under :where(body:not(.lr-landing-page)), at their old
   place. :where() adds no specificity, so the landing reads exactly the accepted copy and /pricing, the product pages,
   the gallery and the prop pages read exactly what they read before. The one grey (#6b6b75) is the landing's for now. */
:where(body:not(.lr-landing-page)) { --lr-muted: #6b7086; }

@media (max-width: 1100px) { :root { --lr-gutter: 32px; } }
@media (max-width: 700px) { :root { --lr-gutter: 16px; --lr-nav-h: 64px; } }

* { box-sizing: border-box; }
html.lr-html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html.lr-html { scroll-behavior: auto; } }
body.lr-page { margin: 0; background: #fff; color: var(--lr-ink); font: 400 var(--lr-t-body)/1.5 var(--lr-font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
:where(.lr-page) :where(h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol) { margin: 0; }
:where(.lr-page) :where(ul, ol) { padding: 0; list-style: none; }
:where(.lr-page) a { color: inherit; text-decoration: none; }
:where(.lr-page) :where(img, svg) { display: block; }
:where(.lr-page) button { font: inherit; color: inherit; }
.lr-page :focus-visible { outline: 3px solid color-mix(in srgb, var(--lr-accent) 55%, white); outline-offset: 3px; border-radius: 4px; }
.lr-page [hidden] { display: none !important; }
.lr-icon { width: 1em; height: 1em; flex: none; }
.lr-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lr-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--lr-radius-button); background: var(--lr-accent); color: #fff !important; }
.lr-skip:focus { top: 12px; }
.lr-container { width: min(var(--lr-page), calc(100% - 2 * var(--lr-gutter))); margin-inline: auto; }
.lr-centered { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lr-gain { color: var(--lr-gain); }
.lr-loss { color: var(--lr-loss); }
.lr-muted { color: var(--lr-app-muted); }
.lr-num { font-variant-numeric: tabular-nums; }
.lr-main > section, .lr-chapter { scroll-margin-top: calc(var(--lr-nav-h) + 8px); }
.lr-anchor { display: block; height: 0; scroll-margin-top: calc(var(--lr-nav-h) + 8px); }

/* Display type: heavy, tight, black (the pictures' headlines). */
.lr-display { font-family: var(--lr-display); font-weight: 850; font-variation-settings: 'opsz' 32; letter-spacing: -0.052em; word-spacing: .07em; line-height: .98; color: var(--lr-ink); }
.lr-display-2 { font-size: var(--lr-t-h2); letter-spacing: -0.048em; line-height: 1.02; }
.lr-display-2 span { color: color-mix(in srgb, var(--lr-muted) 88%, var(--lr-accent)); }

/* Handwritten inner voice: the trader's doubts, in brand ink. */
.lr-hand { position: absolute; margin: 0; color: var(--lr-accent); font: 500 var(--lr-t-hand)/1 var(--lr-hand); letter-spacing: .005em; transform: rotate(-7deg); transform-origin: left center; white-space: nowrap; pointer-events: none; }
.lr-hand-arrow { position: absolute; overflow: visible; color: var(--lr-accent); pointer-events: none; }
.lr-hand-arrow path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.lr-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px; font: 500 17px/1 var(--lr-font); letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; transition: background-color .16s, border-color .16s, color .16s, box-shadow .16s; }
.lr-button .lr-icon { width: 18px; height: 18px; }
.lr-button-primary { background: var(--lr-accent); color: #fff !important; }
.lr-button-primary:hover { background: var(--lr-accent-hover); }
.lr-button-lg { min-height: 54px; padding: 0 46px; font-size: 18px; }
.lr-button-md { min-height: 48px; padding: 0 34px; font-size: 17px; }
.lr-button-block { width: 100%; border-radius: var(--lr-radius-button); }
.lr-page .lr-text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--lr-accent); font-weight: 500; }
.lr-text-link .lr-icon { width: 1em; height: 1em; transition: transform .16s; }
.lr-text-link:hover .lr-icon { transform: translateX(3px); }


/* ---------- Hero ---------- */
.lr-hero { --lr-jfit: .9314; --lr-hero-pb: 0px; position: relative; padding-top: clamp(44px, 3.9vw, 64px); }
/* Igor 31.10: the hero sits in a rounded indigo panel (inset from the page's sides, right under the nav). It runs down beside
   the window, lighter as it goes, and dissolves into the white page together with the window's lower edge. */
/* On scroll (0 → 1 over the first 55% of a screen, eased out) the panel settles: its sides and corners close up to the
   page edges and the window lies flat. Browsers with scroll timelines run it themselves (the block under "The hero
   settles on scroll"); the others read --lr-hero-p from the script. The property doesn't inherit, so a scrolled frame
   restyles these few boxes and not the whole Journal inside the window; the panel is clipped, never laid out again. */
@property --lr-hero-p { syntax: '<number>'; inherits: false; initial-value: 0; }
.lr-hero::before, .lr-hero-stage, .lr-hero-stage > *, .lr-hero-window, .lr-shot-frame, .lr-hero-window > .lr-hand, .lr-hero-window > .lr-hand-arrow { --lr-hero-p: inherit; }
.lr-hero { --lr-panel-x: clamp(8px, 1.6vw, 24px); --lr-panel-r: clamp(20px, 2.6vw, 40px); }
.lr-hero::before { content: ''; position: absolute; z-index: 0; inset: 0; clip-path: inset(0 calc(var(--lr-panel-x) * (1 - var(--lr-hero-p))) 0 round calc(var(--lr-panel-r) * (1 - var(--lr-hero-p))) calc(var(--lr-panel-r) * (1 - var(--lr-hero-p))) 0 0); pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) calc(100% - 150px), rgba(255, 255, 255, .3) calc(100% - 105px), rgba(255, 255, 255, .72) calc(100% - 60px), rgba(255, 255, 255, .96) calc(100% - 22px), #fff 100%), linear-gradient(180deg, #3f35b2 0, #4a3fc0 30%, #6459d6 52%, #948bec 72%, #c4bef6 calc(100% - 3px), rgba(196, 190, 246, 0) calc(100% - 2px)); } /* clear before the edge: on a fractional pixel it showed as a line */
/* Over the panel the bar needs no line of its own and the panel starts right under it (Igor 24 Nov «линия и отступ там
   убрать»): the landing only. The line is back with a menu open, and once the page has scrolled past the hero. */
body:has(> .lr-main > .lr-hero):not(.lr-past-hero) .lr-nav:not(:has([aria-expanded="true"])) { border-bottom-color: transparent; }
/* Behind an open menu the page goes white, not dark (Igor 24 Nov «при выборе меню может не темным а белым фон заполнять?»):
   the landing only; the other pages keep the shared veil. */
body:has(> .lr-main > .lr-hero) .lr-nav .lr-nav-scrim { background: rgb(255 255 255 / .6); }
.lr-hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lr-hero h1 { color: #fff; font-family: var(--lr-font); font-size: var(--lr-t-hero); font-weight: 600; letter-spacing: -0.045em; word-spacing: 0; line-height: 1.02; }
.lr-hero-sub { margin-top: clamp(12px, .9vw, 16px); color: rgba(255, 255, 255, .7); font-size: var(--lr-t-sub); font-weight: 500; line-height: 1.24; letter-spacing: -0.018em; }
.lr-ink { color: var(--lr-ink); }
.lr-hero-sub .lr-ink { color: #fff; }
/* The promise in white, its words under a mint marker (Igor 24 Nov «C, маркер на словах»). */
.lr-hero-promise { display: inline-block; margin-top: 2px; color: #fff; white-space: nowrap; }
.lr-hero-promise mark { padding: 0 8px 2px; border-radius: 7px; background: #bff0d2; color: #12321f; }
.lr-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(14px, 1vw, 18px); }
.lr-hero-actions .lr-button-lg { min-height: 52px; padding: 0 30px; font-size: 17.5px; }
.lr-hero-actions .lr-button-primary { background: #fff; color: var(--lr-accent) !important; }
.lr-hero-actions .lr-button-primary:hover { background: #efedfc; }
.lr-hero-actions .lr-button-outline { border-color: rgba(255, 255, 255, .55); background: transparent; color: #fff !important; }
.lr-hero-actions .lr-button-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
/* Google's sign-up is a round button right beside Start free, when Google sign-in is set up (Igor 24 Nov «это тут висит норм?»
   → «А вариант лучше но может тогда между кнопками меньше пустоты?»): the three stand 8 px apart. */
.lr-hero-google { display: grid; flex: none; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.lr-hero-google:hover { background: #efedfc; }


/* The stage: the real Journal, tilted slightly back on a glass rim; its lower half stands on the white page and its
   lower edge fades to white, not to the panel (Igor 31.10: no shadow, no haze). */
.lr-hero-stage { position: relative; margin-top: clamp(10px, 1.1vw, 16px); padding-bottom: var(--lr-hero-pb); overflow-x: clip; }
.lr-hero-window { position: relative; width: min(1330px, 100%); margin-inline: auto; perspective: 2400px; }

/* The window's lower edge fades to white inside the tilted frame (so the fade tilts with it); the panel beside it fades
   out over the same bottom stretch, and both are white at the hero's lower edge. */
.lr-shot-frame::after { content: ''; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 86px; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 30%, rgba(255, 255, 255, .72) 60%, rgba(255, 255, 255, .96) 85%, #fff 100%); pointer-events: none; }
.lr-shot-frame { position: relative; z-index: 1; margin: 0; padding: 10px; border-radius: 26px 26px 0 0; background: rgba(255, 255, 255, .32); box-shadow: inset 0 0 0 1px rgba(28, 22, 90, .1), inset 0 0 0 2px rgba(255, 255, 255, .6); transform: rotateX(calc(7deg * (1 - var(--lr-hero-p)))) scale(calc(1 + .025 * var(--lr-hero-p))); transform-origin: 50% 100%; }

/* The hero Journal, built as elements one-to-one from the live app screen: drawn at the app's 1428 px and scaled into
   the window (--lr-jfit), so text and lines stay crisp at any size. 712 px of it show: the window fades out right under
   the market sessions, with the trade review docked as the right column. */
.lr-j { position: relative; width: 100%; height: calc(712px * var(--lr-jfit)); overflow: hidden; border-radius: 16px 16px 0 0; }
.lr-j-canvas { position: absolute; left: 0; top: 0; width: 1428px; height: 712px; transform: scale(var(--lr-jfit)); transform-origin: 0 0; background: var(--lr-accent); color: #1d1d22; font: 400 14.5px/1.35 var(--lr-font); -webkit-font-smoothing: antialiased; }
.lr-j .lr-icon { width: 18px; height: 18px; stroke-width: 1.75; flex: none; }
.lr-j-top { position: absolute; left: 0; right: 0; top: 0; height: 58px; display: flex; align-items: center; padding: 0 24px 0 10px; color: #fff; }
.lr-j-rail-btn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, .14); }
.lr-j-logo { width: 92px; height: auto; margin-left: 34px; }
.lr-j-pill { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 15px; white-space: nowrap; }
.lr-j-scope { margin-left: 130px; min-width: 252px; }
.lr-j-scope b { font-weight: 500; }
.lr-j-scope em { font-style: normal; opacity: .8; }
.lr-j-scope .lr-icon:last-child { margin-left: auto; width: 16px; height: 16px; }
.lr-j-search { margin-left: 17px; width: 320px; color: rgba(255, 255, 255, .9); }
.lr-j-search kbd { margin-left: auto; font: 500 12px var(--lr-font); opacity: .85; }
.lr-j-gap { flex: 1; }
.lr-j-group { display: flex; height: 42px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 10px; font-size: 15px; font-weight: 500; }
.lr-j-group > span { display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; }
.lr-j-group > span + span { border-left: 1px solid rgba(255, 255, 255, .34); }
.lr-j-group .lr-icon:last-child:not(:first-child) { width: 15px; height: 15px; }
.lr-j-add { display: flex; height: 42px; margin-left: 10px; border-radius: 10px; background: #fff; color: var(--lr-accent); font-size: 15px; font-weight: 600; }
.lr-j-add > span { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px 0 16px; }
.lr-j-add > span + span { padding: 0 12px; border-left: 1px solid #e4e3f2; }
.lr-j-rail { position: absolute; left: 0; top: 58px; bottom: 0; width: 52px; display: flex; flex-direction: column; align-items: center; gap: 29px; padding-top: 22px; color: #fff; }
.lr-j-body { position: absolute; left: 52px; top: 58px; right: 0; bottom: 0; display: grid; grid-template-columns: 222px 1fr; border-radius: 14px 0 0 0; background: #fff; overflow: hidden; }
.lr-j-side { display: flex; flex-direction: column; padding: 8px 12px; background: #f6f6f8; }
.lr-j-nav { display: flex; align-items: center; gap: 12px; height: 32px; flex: none; margin-top: 1px; padding: 0 12px; border-radius: 9px; font-size: 15px; white-space: nowrap; }
.lr-j-nav .lr-icon { color: #3d3d45; }
.lr-j-nav .lr-logo { width: 20px; height: 20px; border-radius: 5px; }
.lr-j-nav.is-active { background: #ececfa; color: var(--lr-accent); font-weight: 500; }
.lr-j-nav.is-active .lr-icon { color: var(--lr-accent); }
.lr-j-group-label { display: flex; align-items: center; justify-content: space-between; height: 26px; flex: none; margin-top: 10px; padding: 0 12px; color: #6b6b75; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lr-j-group-label .lr-icon { width: 15px; height: 15px; }
.lr-j-main { min-width: 0; padding: 18px 0 0 24px; }
.lr-j-head { display: flex; align-items: center; height: 40px; padding-right: 18px; }
.lr-j-head h3 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.025em; }
.lr-j-meta { margin-left: 20px; color: #6b6b75; font-size: 13.5px; }
.lr-j-meta b { color: #6b6b75; font-weight: 500; }
.lr-j-meta i { margin: 0 6px; font-style: normal; }
.lr-j-usd { margin-left: auto; margin-right: 24px; color: #6b6b75; font-size: 13.5px; }
.lr-j-btn { display: inline-flex; align-items: center; gap: 9px; height: 40px; margin-left: 9px; padding: 0 14px; border: 1px solid #dcdce2; border-radius: 10px; font-size: 14.5px; font-weight: 500; }
.lr-j-filters { display: flex; gap: 10px; margin-top: 12px; }
.lr-j-split { display: grid; grid-template-columns: minmax(0, 1fr) 374px; margin-top: 16px; }
.lr-j-left { min-width: 0; padding-right: 20px; }
.lr-j-seg { display: flex; height: 40px; padding: 3px; border: 1px solid #dcdce2; border-radius: 10px; }
.lr-j-seg > span { display: inline-flex; align-items: center; gap: 8px; padding: 0 11px; border-radius: 7px; font-size: 14.5px; }
.lr-j-seg > span.is-on { background: #ececfa; color: var(--lr-accent); font-weight: 500; }
.lr-j-seg .lr-icon { width: 16px; height: 16px; }
.lr-j-dates { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border: 1px solid #dcdce2; border-radius: 10px; font-size: 14.5px; }
.lr-j-dates .lr-icon { width: 16px; height: 16px; }
.lr-j-label { display: block; color: #55555f; font-size: 13.5px; }
.lr-j-gain { color: #2e8550; }
.lr-j-loss { color: #c4342d; }
.lr-j-kpi-top { display: grid; grid-template-columns: 41% 1fr; padding-bottom: 8px; border-bottom: 1px solid #ececf0; }
.lr-j-big { display: block; margin-top: 5px; font-size: 29px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lr-j-sub { display: block; margin-top: 5px; color: #55555f; font-size: 13.5px; }
.lr-j-sub b { color: #1d1d22; font-weight: 600; }
.lr-j-sub em { font-style: normal; }
.lr-j-chart { padding-left: 22px; border-left: 1px solid #ececf0; }
.lr-j-curve { display: block; width: 100%; height: 52px; margin-top: 6px; overflow: visible; }
.lr-j-curve line { stroke: #ececf0; stroke-width: 1; vector-effect: non-scaling-stroke; }
.lr-j-curve-area { fill: rgba(68, 154, 107, .1); }
.lr-j-curve-line { fill: none; stroke: #449a6b; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.lr-j-axis { display: flex; justify-content: space-between; margin-top: 5px; color: #55555f; font-size: 12.5px; }
.lr-j-axis i { font-style: normal; }
.lr-j-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px 0 10px; border-bottom: 1px solid #ececf0; }
.lr-j-kpis .lr-j-cell + .lr-j-cell { padding-left: 20px; margin-left: 20px; border-left: 1px solid #ececf0; }
.lr-j-mid { display: block; margin-top: 5px; font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lr-j-wl { display: block; height: 8px; margin-top: 9px; border-radius: 4px; background: #c4342d; overflow: hidden; }
.lr-j-wl i { display: block; height: 100%; background: #3f9563; }
.lr-j-row { display: flex; justify-content: space-between; margin-top: 4px; color: #55555f; font-size: 14px; }
.lr-j-row em { font-style: normal; font-variant-numeric: tabular-nums; }
.lr-j-review { display: flex; align-items: center; gap: 16px; height: 36px; border-bottom: 1px solid #ececf0; font-size: 13.5px; color: #55555f; }
.lr-j-review b { color: #1d1d22; font-weight: 600; }
.lr-j-progress { flex: 1; max-width: 420px; height: 4px; border-radius: 2px; background: #e6e6ec; }
.lr-j-sessions { margin-top: 10px; padding: 12px 18px 12px; border: 1px solid #e3e3ea; border-radius: 14px; }
.lr-j-sess-head { display: flex; align-items: center; font-size: 14.5px; }
.lr-j-sess-title { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.lr-j-sess-title em { padding: 1px 6px; border: 1px solid #dcdce2; border-radius: 5px; color: #6b6b75; font-size: 11px; font-style: normal; font-weight: 600; }
.lr-j-sess-live { display: inline-flex; align-items: center; gap: 10px; margin-left: 30px; }
.lr-j-sess-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--lr-accent); }
.lr-j-sess-head > span { white-space: nowrap; }
/* The clock is left out in the narrower hero column: the timeline's 16:16 marker already shows it. */
.lr-j-sess-clock { display: none; margin-left: auto; color: #55555f; font-size: 13.5px; }
.lr-j-sess-tip { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 12px; border-radius: 8px; background: #f4f4f7; color: #55555f; font-size: 13px; }
.lr-j-sess-tip i { width: 6px; height: 6px; border-radius: 50%; background: #3f9563; }
.lr-j-sess-tip b { color: #1d1d22; font-weight: 500; }
.lr-j-tl { position: relative; margin-top: 6px; }
.lr-j-tl-day { position: absolute; left: 0; top: 2px; color: #55555f; font-size: 12.5px; }
.lr-j-tl-hours { position: relative; display: block; height: 18px; margin-left: 240px; color: #55555f; font-size: 12.5px; }
.lr-j-tl-hours i { position: absolute; top: 0; font-style: normal; transform: translateX(-50%); }
.lr-j-tl-hours i:first-child { transform: none; }
.lr-j-tl-hours i:last-child { transform: translateX(-100%); }
.lr-j-tl-overlay { position: absolute; left: 240px; right: 0; top: 18px; bottom: 0; pointer-events: none; }
.lr-j-tl-band { position: absolute; top: 0; bottom: 30px; background: rgba(68, 58, 184, .05); }
.lr-j-tl-open { position: absolute; top: 0; bottom: 30px; border-left: 1px dashed #b8b8c4; }
.lr-j-tl-open b { position: absolute; left: -84px; top: 4px; color: #55555f; font-size: 12px; font-weight: 400; white-space: nowrap; }
.lr-j-tl-now { position: absolute; top: -18px; bottom: 0; border-left: 1px dashed #1d1d22; }
.lr-j-tl-now b { position: absolute; right: 3px; top: -4px; padding: 2px 6px; border-radius: 4px; background: #1d1d22; color: #fff; font-size: 11.5px; font-weight: 600; }
.lr-j-tl-row { position: relative; display: grid; grid-template-columns: 120px 120px 1fr; align-items: center; height: 21px; }
.lr-j-tl-name { font-size: 14.5px; }
.lr-j-tl-row.is-live .lr-j-tl-name { color: var(--lr-accent); }
.lr-j-tl-time { color: #3d3d45; font-size: 14px; font-variant-numeric: tabular-nums; }
.lr-j-tl-track { position: relative; height: 6px; }
.lr-j-tl-track i { position: absolute; top: 0; height: 6px; border-radius: 3px; background: #dcdce3; }
.lr-j-tl-row.is-live .lr-j-tl-track i { background: var(--lr-accent); }
.lr-j-tl-trades { height: 30px; margin-top: 3px; border-top: 1px solid #ececf0; }
.lr-j-tl-trades .lr-j-tl-time { color: #6b6b75; font-size: 12.5px; }
.lr-j-tl-trades .lr-j-tl-track { height: 28px; border-bottom: 0; background: linear-gradient(#ececf0, #ececf0) 0 14px / 100% 1px no-repeat; }
.lr-j-tl-trades .lr-j-tl-track i { width: calc(100% / 24 - 4px); margin-left: 2px; height: calc(var(--r) * 50px); border-radius: 2px; }
.lr-j-tl-trades .lr-j-tl-track i.is-up { top: auto; bottom: 14px; background: #3f9563; }
.lr-j-tl-trades .lr-j-tl-track i.is-down { top: 14px; background: #e8a6a3; }
/* The sessions footer line is left out in the hero (Igor 31.10): the window ends under the timeline. */
.lr-j .lr-j-sess-foot { display: none; }
.lr-j-sess-foot { display: flex; align-items: center; gap: 24px; margin-top: 4px; color: #55555f; font-size: 13.5px; }
.lr-j-sess-foot > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.lr-j-xray { margin-left: auto; color: #1d1d22; font-weight: 500; }

/* The trade review docked as the Journal's right column (the app's own panel), filled from the voice note. */
.lr-j-rv { display: flex; flex-direction: column; min-width: 0; border-top: 1px solid #ececf0; border-left: 1px solid #ececf0; border-top-left-radius: 14px; background: #fff; overflow: hidden; }
.lr-j-rv-head { display: flex; flex-direction: column; gap: 6px; height: 76px; padding: 17px 18px 0; }
.lr-j-rv-title { font-size: 17px; font-weight: 600; line-height: 22px; letter-spacing: -0.015em; }
.lr-j-rv-trade { display: inline-flex; align-items: center; gap: 7px; color: #6b6b75; font-size: 13.5px; }
.lr-j-rv-trade .lr-logo { width: 16px; height: 16px; border-radius: 4px; }
.lr-j-rv-trade b { margin-left: 3px; font-weight: 500; }
.lr-j-rv-voice { display: flex; flex-direction: column; gap: 11px; padding: 14px 18px 16px; border-top: 1px solid #ececf0; border-bottom: 1px solid #ececf0; background: #f6f5fd; }
.lr-j-rv-label { display: flex; align-items: center; gap: 8px; color: #1d1d22; font-size: 13.5px; }
.lr-j-rv-label .lr-icon { width: 16px; height: 16px; color: #55555f; }
.lr-j-rv-voice .lr-j-rv-label, .lr-j-rv-voice .lr-j-rv-label .lr-icon { color: var(--lr-accent); }
.lr-j-rv-player { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lr-j-rv .lr-app-play { width: 34px; height: 34px; }
.lr-j-rv .lr-app-play .lr-icon { width: 13px; height: 13px; }
.lr-j-rv .lr-wave { min-width: 0; height: 26px; gap: 2px; overflow: hidden; }
.lr-j-rv .lr-wave i { width: 2px; background: color-mix(in srgb, var(--lr-accent) 78%, white); }
.lr-j-rv .lr-wave i:nth-child(n+50) { background: color-mix(in srgb, var(--lr-accent) 28%, white); }
.lr-j-rv .lr-app-time { flex: none; color: #55555f; font-size: 13px; }
.lr-j-rv .lr-app-transcript { margin: 0; padding-left: 12px; border-left: 2px solid color-mix(in srgb, var(--lr-accent) 40%, white); color: #1d1d22; font-size: 13.5px; line-height: 19px; }
.lr-j-rv-fields { display: flex; flex-direction: column; padding: 14px 18px 0; }
.lr-j-rv .lr-app-select { height: 34px; margin: 6px 0 14px; padding: 0 10px; border-color: #dcdce2; border-radius: 9px; }
.lr-j-rv .lr-app-select-chip { gap: 8px; padding: 3px 10px; border-radius: 6px; background: #ececfa; color: var(--lr-accent); font-size: 13px; }
.lr-j-rv .lr-app-select-chip .lr-icon { width: 13px; height: 13px; color: var(--lr-accent); }
.lr-j-rv .lr-app-choices { gap: 8px; height: 34px; margin: 8px 0 16px; }
.lr-j-rv .lr-app-choice { border-color: #dcdce2; border-radius: 9px; color: #1d1d22; font-size: 13.5px; }
.lr-j-rv .lr-app-choice.is-on { border-color: #e3e1f7; background: #f1f0fb; color: var(--lr-accent); }
.lr-j-rv .lr-app-stars { gap: 8px; margin: 10px 0 0; }
.lr-j-rv .lr-app-stars .lr-icon { width: 22px; height: 22px; color: #d6d6dc; fill: #e6e6ea; }
.lr-j-rv .lr-app-stars .is-on .lr-icon { color: var(--lr-accent); fill: var(--lr-accent); }
.lr-j-rv-foot { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 0; }
.lr-j-rv .lr-app-filled { height: 34px; padding: 0 14px; font-size: 13.5px; }
.lr-j-rv .lr-app-filled .lr-icon { width: 15px; height: 15px; }
.lr-j-rv .lr-app-save { height: 34px; padding: 0 22px; border-radius: 9px; font-size: 14px; }

/* The app's sync toast, inside the window: level with the filters, above the review column, on its right line. */
.lr-j-toast { position: absolute; top: 68px; right: 18px; z-index: 2; display: flex; align-items: center; gap: 11px; width: 240px; height: 44px; padding: 0 12px 0 10px; border: 1px solid #e3e3ea; border-radius: 10px; background: #fff; box-shadow: 0 10px 28px -12px rgba(28, 22, 90, .3); }
.lr-j-toast .lr-logo { width: 28px; height: 28px; border-radius: 7px; }
.lr-j-toast > span { display: flex; flex-direction: column; line-height: 1.3; }
.lr-j-toast b { font-size: 13px; font-weight: 500; }
.lr-j-toast small { color: #6b6b75; font-size: 11.5px; }
.lr-j-toast > .lr-icon:last-child { margin-left: auto; width: 15px; height: 15px; color: #6b6b75; }
/* On load the cumulative curve draws itself once (motion-tolerant visitors only). */
.lr-app-scale.is-sequencing .lr-j-curve-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lr-draw 1.5s var(--lr-ease) .15s forwards; }
.lr-app-scale.is-sequencing .lr-j-curve-area { opacity: 0; animation: lr-fade-in .6s var(--lr-ease) 1.2s forwards; }
@keyframes lr-draw { to { stroke-dashoffset: 0; } }
@keyframes lr-fade-in { to { opacity: 1; } }

/* One handwritten note in two lines, outside the window above its right end, pointing down at Add trade (by voice) and the
   voice note under it. It grows upwards from the arrow. */
/* Above the window's right part (the review column with the sync toast): clear of the copy and inside the page at any width. */
.lr-hand-hero { right: 20px; bottom: calc(100% + 52px); transform-origin: right bottom; font-size: clamp(24px, 1.95vw, 29px); line-height: 1.08; text-align: center; transform: rotate(-6deg); }
/* Straight down from under the second line, 10 px above the tilted window's rim. */
.lr-hand-arrow-hero { right: 78px; top: -44px; width: 18px; height: 55px; }
/* The app's voice mark (Say it, audio-lines) before the words, at the pen's weight (Igor 24 Nov «может возле текста вначале
   значек записи голоса?» → «будем ставить как теперь у нас иконка записи в app»). */
.lr-hand-voice { display: inline-block; width: .9em; height: .9em; margin-right: .32em; vertical-align: -.12em; overflow: visible; }
.lr-hand-voice path { fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.lr-hero-window > .lr-hand, .lr-hero-window > .lr-hand-arrow { z-index: 3; color: #fff; }
/* The note and its arrow leave as the hero settles on scroll (up and out, with the window lying flat). */
.lr-hero-window > .lr-hand, .lr-hero-window > .lr-hand-arrow { opacity: calc(1 - 1.7 * var(--lr-hero-p)); translate: 0 calc(-22px * var(--lr-hero-p)); }
/* The hero settles on scroll, run by the browser itself (no script, the window and the note off the main thread): the
   same path as --lr-hero-p above. cubic-bezier(1/3, 2/3, 2/3, 1) is the script's 1 − (1 − p)²; the note is gone at 1/1.7 of
   it, a scroll of 35.83%. */
@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        .lr-hero::before, .lr-shot-frame, .lr-hero-window > .lr-hand, .lr-hero-window > .lr-hand-arrow { animation-duration: auto; animation-fill-mode: both; animation-timing-function: cubic-bezier(.3333, .6667, .6667, 1); animation-timeline: scroll(root block); animation-range: 0 55vh; }
        .lr-hero::before { animation-name: lr-panel-settle; }
        .lr-shot-frame { animation-name: lr-window-settle; }
        .lr-hero-window > .lr-hand, .lr-hero-window > .lr-hand-arrow { animation-name: lr-note-rise, lr-note-fade; animation-timing-function: cubic-bezier(.3333, .6667, .6667, 1), cubic-bezier(.3333, .4061, .6667, .7394); animation-range: 0 55vh, 0 19.71vh; }
    }
}
@keyframes lr-panel-settle { from { clip-path: inset(0 var(--lr-panel-x) 0 round var(--lr-panel-r) var(--lr-panel-r) 0 0); } to { clip-path: inset(0 0 0 round 0 0 0 0); } }
@keyframes lr-window-settle { from { transform: rotateX(7deg) scale(1); } to { transform: rotateX(0deg) scale(1.025); } }
@keyframes lr-note-rise { from { translate: 0 0; } to { translate: 0 -22px; } }
@keyframes lr-note-fade { from { opacity: 1; } to { opacity: 0; } }

/* The hero window: the live Journal (table view, a trade open in Review), drawn at 1200 × 668: the frame closes just
   under the review's Save row, so nothing below it is empty. */
.lr-app { position: relative; z-index: 1; display: flex; flex-direction: column; width: 1200px; height: 668px; padding: 0 14px 14px; border-radius: 18px; background: var(--lr-accent); color: var(--lr-app-ink); font: 400 13px/1.4 var(--lr-font); box-shadow: 0 30px 70px -24px rgba(25, 18, 80, .42); overflow: hidden; }
.lr-app .lr-icon { width: 15px; height: 15px; stroke-width: 1.8; }
.lr-app-top { display: flex; align-items: center; height: 56px; flex: none; padding: 0 0 0 20px; color: #fff; }
.lr-app-logo { width: 70px; height: auto; }
.lr-app-control { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--lr-radius-control); background: rgba(255, 255, 255, .05); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.lr-app-scope { margin-left: 58px; width: auto; min-width: 176px; }
.lr-app-scope .lr-icon:last-child { margin-left: auto; width: 13px; height: 13px; }
.lr-app-search { width: 268px; margin-left: 12px; font-weight: 400; color: rgba(255, 255, 255, .92); }
.lr-app-search kbd { margin-left: auto; font: 500 11px var(--lr-font); opacity: .85; }
.lr-app-top-gap { flex: 1; }
.lr-app-group { display: flex; height: 32px; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--lr-radius-control); font-size: 12.5px; font-weight: 500; }
.lr-app-group > span { display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; }
.lr-app-group > span + span { border-left: 1px solid rgba(255, 255, 255, .3); }
.lr-app-group .lr-icon:last-child:not(:first-child) { width: 12px; height: 12px; }
.lr-app-add { display: flex; height: 32px; margin-left: 8px; border-radius: var(--lr-radius-control); background: #fff; color: var(--lr-accent); font-size: 13px; font-weight: 500; }
.lr-app-add > span { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px 0 13px; }
.lr-app-add > span + span { padding: 0 10px; border-left: 1px solid var(--lr-app-line); }
.lr-app-body { flex: 1; display: grid; grid-template-columns: 176px 560px 1fr; min-height: 0; border-radius: 12px 12px 10px 10px; background: #fff; overflow: hidden; }

.lr-app-side { display: flex; flex-direction: column; padding: 8px 8px; background: var(--lr-app-soft); }
.lr-app-nav { display: flex; align-items: center; gap: 10px; height: 31px; flex: none; padding: 0 10px; border-radius: var(--lr-radius-control); font-size: 13px; white-space: nowrap; }
.lr-app-nav .lr-icon { width: 15px; height: 15px; color: #3d403c; }
.lr-app-nav.is-active { background: var(--lr-accent-soft); color: var(--lr-accent); font-weight: 500; }
.lr-app-nav.is-active .lr-icon { color: var(--lr-accent); }
.lr-app-nav-group { display: flex; align-items: center; justify-content: space-between; height: 22px; flex: none; margin-top: 12px; padding: 0 10px; color: var(--lr-app-muted); font-size: 10.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }
.lr-app-nav-group .lr-icon { width: 13px; height: 13px; }
.lr-app-nav .lr-logo { width: 16px; height: 16px; border-radius: 4px; }

.lr-app-main { min-width: 0; padding: 16px 16px 0 18px; border-right: 1px solid var(--lr-app-line); }
.lr-app-head { display: flex; align-items: center; height: 30px; }
.lr-app-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.lr-app-count { margin-left: auto; color: var(--lr-app-muted); font-size: 13px; }
.lr-app-tools { display: flex; gap: 6px; margin-top: 10px; }
.lr-app-tools + .lr-app-tools { margin-top: 8px; }
.lr-app-input, .lr-app-btn, .lr-app-seg { display: inline-flex; align-items: center; gap: 9px; height: 32px; border: 1px solid var(--lr-app-border); border-radius: var(--lr-radius-control); background: #fff; white-space: nowrap; }
.lr-app-input { flex: 1; padding: 0 12px; color: var(--lr-app-muted); }
.lr-app-btn { gap: 7px; padding: 0 11px; color: var(--lr-app-ink); }
.lr-app-btn .lr-icon:last-child:not(:first-child) { width: 13px; height: 13px; margin-left: 4px; }
.lr-app-seg { gap: 0; padding: 2px; }
.lr-app-seg > span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 7px; border-radius: 4px; }
.lr-app-seg > span.is-active { background: var(--lr-accent-soft); color: var(--lr-accent); }
.lr-app-tools-gap { flex: 1; }
.lr-app-thead, .lr-app-row { display: grid; grid-template-columns: 42px 42px 108px 54px 126px 66px 54px 12px; align-items: center; }
.lr-app-thead { margin-top: 18px; padding: 0 0 0 12px; color: var(--lr-app-muted); font-size: 11px; }
.lr-app-thead span { display: inline-flex; align-items: center; gap: 4px; }
.lr-app-thead .lr-icon { width: 11px; height: 11px; }
.lr-app-thead span:nth-child(6) { justify-content: flex-end; }
.lr-app-thead span:nth-child(7) { padding-left: 8px; }
.lr-app-day { display: flex; align-items: center; height: 34px; margin-top: 4px; padding: 0 0 0 10px; font-size: 13.5px; }
.lr-app-day b { font-weight: 600; margin-right: 8px; }
.lr-app-day > span:first-child { color: var(--lr-app-muted); }
.lr-app-day > span:first-child b { color: var(--lr-app-ink); }
.lr-app-day > span:last-child { margin-left: auto; margin-right: 66px; font-weight: 600; }
.lr-app-row { height: 49px; padding: 0 0 0 12px; font-size: 13px; }
.lr-app-row.is-selected { height: 50px; border: 1px solid var(--lr-accent-line); border-radius: var(--lr-radius-control); background: var(--lr-accent-tint); box-shadow: inset 3px 0 0 var(--lr-accent); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.lr-app-sym { display: flex; flex-direction: column; gap: 1px; line-height: 1.3; min-width: 0; }
.lr-app-sym b { font-weight: 600; }
.lr-app-sym small { display: inline-flex; align-items: center; gap: 5px; color: var(--lr-app-muted); font-size: 11.5px; white-space: nowrap; }
.lr-app-sym .lr-logo { width: 13px; height: 13px; border-radius: 3px; }
.lr-app-side-cell { display: inline-flex; align-items: center; gap: 5px; }
.lr-app-side-cell .lr-icon { width: 13px; height: 13px; }
.lr-app-tag { display: inline-block; max-width: 124px; padding: 3px 7px; border-radius: 4px; background: var(--lr-app-raised); color: #4a4d49; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.lr-app-pl { text-align: right; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lr-app-r { padding-left: 8px; color: var(--lr-app-muted); font-variant-numeric: tabular-nums; }
.lr-app-row-go { justify-self: end; color: var(--lr-app-muted); }
.lr-app .lr-app-row-go { width: 13px; height: 13px; }
/* Thursday has 7 trades and six are in view: the list runs on under the window's bottom edge, not closed off. */
.lr-app-rows { padding-bottom: 40px; border: 1px solid var(--lr-app-line); border-bottom: 0; border-radius: 8px 8px 0 0; }
.lr-app-rows .lr-app-row + .lr-app-row { border-top: 1px solid var(--lr-app-line); }
.lr-app-rows .lr-app-row:last-child { border-bottom: 1px solid var(--lr-app-line); }

.lr-app-review { min-width: 0; padding: 18px 20px 0 20px; }
.lr-app-review-head { display: flex; align-items: center; gap: 8px; height: 30px; }
.lr-app-review-head > .lr-icon { color: var(--lr-app-muted); }
.lr-app-review-sym { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.lr-app-chip-long { margin-left: 2px; padding: 2px 8px; border-radius: 4px; background: var(--lr-gain-soft); color: var(--lr-gain); font-size: 12px; font-weight: 500; }
.lr-app-review-pl { margin-left: auto; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lr-app-review-nav { display: flex; align-items: center; gap: 14px; margin-left: 22px; color: var(--lr-app-muted); }
.lr-app-review-nav .lr-icon { width: 16px; height: 16px; }
.lr-app-review-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--lr-app-muted); font-size: 12px; }
.lr-app-review-meta .lr-logo { width: 14px; height: 14px; border-radius: 3px; }
.lr-app-tabs { display: flex; gap: 28px; margin-top: 14px; padding-left: 4px; border-bottom: 1px solid var(--lr-app-line); font-size: 13px; }
.lr-app-tabs span { padding-bottom: 9px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.lr-app-tabs span.is-active { border-color: var(--lr-accent); color: var(--lr-accent); font-weight: 500; }
.lr-app-review-body { display: flex; flex-direction: column; padding-top: 12px; }
.lr-app-label { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; font-size: 12px; font-weight: 500; }
.lr-app-label .lr-icon { width: 13px; height: 13px; color: var(--lr-app-muted); }
.lr-app-voice-slot { display: block; height: 90px; margin-bottom: 12px; border-radius: 10px; background: var(--lr-app-soft); }
.lr-app-select { position: relative; display: flex; align-items: center; gap: 8px; height: 34px; margin-bottom: 12px; padding: 0 10px 0 8px; border: 1px solid var(--lr-app-border); border-radius: var(--lr-radius-control); }
.lr-app-select > .lr-icon { margin-left: auto; width: 13px; height: 13px; color: var(--lr-app-muted); }
.lr-app-select-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 4px; background: var(--lr-app-raised); font-size: 12px; white-space: nowrap; }
.lr-app-select-chip .lr-icon { width: 11px; height: 11px; color: var(--lr-app-muted); }
.lr-app-placeholder { display: none; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--lr-app-muted); white-space: nowrap; }
.lr-app-choices { display: flex; gap: 6px; height: 34px; margin-bottom: 12px; white-space: nowrap; }
.lr-app-choice { display: inline-flex; align-items: center; justify-content: center; flex: 1; padding: 0 10px; border: 1px solid var(--lr-app-border); border-radius: var(--lr-radius-control); background: #fff; font-size: 12.5px; transition: background-color .2s, border-color .2s, color .2s; }
.lr-app-choice.is-on { border-color: var(--lr-accent-line); background: var(--lr-accent-soft); color: var(--lr-accent); font-weight: 500; }
.lr-app-stars { display: flex; gap: 8px; margin: 0 0 12px; }
.lr-app-stars .lr-icon { width: 20px; height: 20px; stroke-width: 1.6; color: #9a9d97; transition: color .2s, fill .2s; }
.lr-app-stars .is-on .lr-icon { color: var(--lr-accent); fill: var(--lr-accent); }
.lr-app-notes { position: relative; display: block; min-height: 56px; padding: 9px 14px; border: 1px solid var(--lr-app-border); border-radius: var(--lr-radius-control); font-size: 13px; }
.lr-app-notes .lr-app-placeholder { left: 14px; top: 20px; }
.lr-app-review-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.lr-app-filled { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px; border-radius: 999px; background: var(--lr-accent-soft); color: var(--lr-accent); font-size: 12.5px; }
.lr-app-filled .lr-icon { width: 14px; height: 14px; }
.lr-app-save { display: inline-flex; align-items: center; height: 32px; padding: 0 18px; border-radius: var(--lr-radius-control); background: var(--lr-accent); color: #fff; font-size: 13px; font-weight: 500; }

.lr-app-play { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--lr-accent); color: #fff; }
.lr-app-play .lr-icon { width: 12px; height: 12px; fill: currentColor; margin-left: 2px; }
.lr-app-time { color: var(--lr-app-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.lr-app-transcript { color: #4a4d49; font-size: 13px; }
.lr-wave { display: flex; align-items: center; gap: 3px; flex: 1; height: 26px; }
.lr-wave i { flex: none; width: 2.5px; height: calc(var(--h) * 100%); min-height: 3px; border-radius: 2px; background: #9ea29b; transition: background-color .12s; }
.lr-app-wave { justify-content: space-between; }

/* The ~1.5 s load sequence: the new trades arrive, the voice note plays and fills the review. What was said stands there from
   the first frame (Igor 25 Nov: no empty place for a couple of seconds), as does the window's full contrast; only motion-tolerant visitors see it, and each step reveals the final markup. */
.lr-app-scale [data-seq] { transition: opacity .38s var(--lr-ease), transform .38s var(--lr-ease); }
.lr-app-scale.is-sequencing:not(.s-sync) [data-seq="badge"] { opacity: 0; transform: translateY(-10px); }
.lr-app-scale.is-sequencing:not(.s-sync) [data-seq="row"] { opacity: 0; transform: translateY(-8px); }
.lr-app-scale.is-sequencing:not(.s-open) .lr-app-row.is-selected { border-color: transparent; background: transparent; box-shadow: none; }
.lr-app-scale.s-play:not(.s-played) [data-seq-wave] i { background: var(--lr-accent); transition-delay: calc(var(--i, 0) * 10ms); }
.lr-app-scale.is-sequencing:not(.s-setup) [data-seq="setup"] { opacity: 0; transform: scale(.94); }
.lr-app-scale.is-sequencing:not(.s-setup) .lr-app-select [data-seq-empty],
.lr-app-scale.is-sequencing:not(.s-notes) .lr-app-notes [data-seq-empty] { display: block; }
.lr-app-scale.is-sequencing:not(.s-radio) [data-seq-radio] { border-color: var(--lr-app-border); background: #fff; color: var(--lr-app-ink); font-weight: 400; }
.lr-app-scale.is-sequencing [data-seq-star]:not(.is-lit) .lr-icon { color: #9a9d97; fill: none; }
.lr-app-scale.is-sequencing:not(.s-notes) [data-seq="notes"] { opacity: 0; }
.lr-app-scale.is-sequencing:not(.s-filled) [data-seq="filled"] { opacity: 0; transform: translateY(4px); }
@keyframes lr-spin { to { transform: rotate(360deg); } }
/* The seven trades the sync brought light up briefly as they arrive. */
.lr-app-scale.is-sequencing.s-sync .lr-app-rows .lr-app-row { animation: lr-new-row 2.6s var(--lr-ease) both; }
@keyframes lr-new-row { 0%, 35% { background: color-mix(in srgb, var(--lr-accent) 9%, white); } 100% { background: transparent; } }

/* Real broker and prop marks at UI size, drawn as the app's identity catalogue draws them. */
.lr-logo { display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 5px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08); }
.lr-logo img { width: 100%; height: 100%; object-fit: cover; }
.lr-logo-ftmo { background: #0b0d10; }
.lr-logo-ftmo img { width: 62%; height: 62%; object-fit: contain; }
.lr-logo-topstep { background: #0b0d10; }
.lr-logo-lucid { background: #000; }
.lr-logo-lucid img { transform: scale(1.2); }
.lr-logo-topstep img { width: 44%; height: 66%; object-fit: contain; }
.lr-logo-binance { background: #f3ba2f; }
.lr-logo-binance img { width: 70%; height: 70%; object-fit: contain; filter: brightness(0); }
.lr-logo-notion img { width: 84%; height: 84%; object-fit: contain; }

/* ---------- Logos strip ---------- */
.lr-sources { position: relative; padding: 0; }
.lr-sources-inner { padding: 26px 0 26px; border-bottom: 1px solid var(--lr-line); text-align: center; }
.lr-sources-title { color: var(--lr-muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.lr-sources-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding-inline: clamp(0px, 4vw, 60px); color: #1d1d22; }
.lr-sources-row li { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.lr-mark { flex: none; height: 34px; width: auto; }
.lr-mark-tradovate { width: 36px; height: 34px; }
.lr-mark-ninjatrader { width: 34px; height: 24px; }
.lr-mark-mt5 { width: 36px; height: 36px; }
.lr-mark-ibkr { width: 20px; height: 38px; }
.lr-mark-binance { width: 32px; height: 32px; }
.lr-mark-bybit { width: 86px; height: 29px; }
.lr-mark-ftmo { width: 34px; height: 32px; }
.lr-mark-topstep { width: 16px; height: 27px; }
/* One optical height for every mark in the strip, all in the same grey. */
.lr-sources-mark { display: grid; place-items: center; height: 28px; }
.lr-sources-mark .lr-mark { height: 26px; width: 28px; }
.lr-sources-mark .lr-mark-notion { height: 25px; width: 25px; }
.lr-sources-mark .lr-mark-ninjatrader { height: 19px; width: 28px; }
.lr-sources-mark .lr-mark-ibkr { height: 28px; width: 15px; }
.lr-sources-mark .lr-mark-topstep { height: 24px; width: 14px; }
.lr-sources-mark .lr-mark-bybit { height: 22px; width: 66px; }
.lr-sources-more a { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: #1d1d22; }
.lr-sources-more span { display: none; }
.lr-sources-more a:hover { color: var(--lr-accent); }
.lr-sources-proof { margin-top: 22px; color: var(--lr-muted); font-size: 14px; }

/* ---------- Feature block: Attio-style chapters with a sticky index ---------- */
/* What's working opens on one trade, start to finish: three lines in place of a heading and every trade under them; no card, no
   frame (Igor 25 Nov «А, фразой», in place of the X-ray picture). */
.lr-one-lines { color: var(--lr-ink); font-size: 40px; font-weight: 500; line-height: 62px; letter-spacing: -0.034em; }
.lr-one-lines > span { display: block; }
.lr-one-lines > span > i { color: #6b6b75; font-style: normal; }
.lr-one-lines b { font-weight: 500; }
.lr-one-said, .lr-one-cost { white-space: nowrap; }
.lr-one-chip { position: relative; top: -.08em; display: inline-flex; align-items: center; gap: .32em; height: 44px; margin: 0 .1em; padding: 0 .5em 0 .34em; border: 1px solid #e3e3ea; border-radius: 6px; background: #fff; box-shadow: none; font-size: 24px; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; vertical-align: middle; font-variant-numeric: tabular-nums; }
.lr-one-chip .lr-src-tile { width: 28px; height: 28px; border-radius: 6px; }
.lr-one-chip.is-voice { padding: 0 .5em; border-color: transparent; background: var(--lr-accent); box-shadow: none; color: #fff; }
.lr-one-chip .lr-wave { flex: none; gap: 3px; height: 24px; }
.lr-one-chip .lr-wave i { width: 2px; background: #fff; }
.lr-one-said mark { padding: .02em .14em .06em; border-radius: 6px; background: #eaeaec; color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lr-one-film { position: relative; margin-top: 58px; }
.lr-one-film .lr-film { display: block; width: 100%; height: auto; }
.lr-film-part { display: none; width: 100%; height: auto; }
.lr-one-note { position: absolute; top: -50px; color: var(--lr-ink); font: 500 24px/1 var(--lr-hand); white-space: nowrap; transform: translateX(-150px) rotate(-5deg); }
.lr-one-arrow { position: absolute; top: -38px; width: 50px; overflow: visible; transform: translateX(-49px); pointer-events: none; }
.lr-one-arrow path { fill: none; stroke: var(--lr-ink); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lr-one-months { position: relative; display: block; height: 20px; margin-top: 8px; }
.lr-one-months em { position: absolute; color: #6b6b75; font-size: 14px; font-style: normal; line-height: 20px; }
@media (max-width: 1360px) {
    .lr-one-said, .lr-one-cost { display: inline-block; }
    .lr-one-lines { font-size: 32px; line-height: 52px; }
    .lr-one-chip { height: 36px; border-radius: 6px; font-size: 20px;  box-shadow: none; }
    .lr-one-chip .lr-src-tile { width: 22px; height: 22px; }
    .lr-one-chip .lr-wave { gap: 2px; height: 18px; }
}
@media (max-width: 760px) {
    .lr-one-lines { font-size: 24px; line-height: 36px; letter-spacing: -0.025em; }
    .lr-one-lines > span + span { margin-top: 10px; }
    .lr-one-chip { height: 32px; margin-inline: 0; font-size: 16px;  box-shadow: none; }
    .lr-one-said { display: block; white-space: normal; }
    .lr-one-cost { display: block; }
    .lr-one-note, .lr-one-arrow, .lr-one-months, .lr-one-film .lr-film { display: none; }
    .lr-film-part { display: block; }
    .lr-film-part + .lr-film-part { margin-top: 12px; }
    .lr-one-film { margin-top: 28px; }
}
.lr-product { background: #f8f8f9; }
.lr-product-frame { display: grid; grid-template-columns: 232px minmax(0, 1fr); border-left: 1px solid var(--lr-line); }
.lr-index { position: sticky; top: var(--lr-nav-h); align-self: start; padding: 34px 0 40px; }
.lr-index ol { display: flex; flex-direction: column; gap: 8px; }
.lr-index a { position: relative; display: block; padding: 9px 20px 9px 32px; color: #6b6b75; font-size: 16px; font-weight: 400; letter-spacing: -0.012em; transition: color .2s; }
.lr-index a::before { content: ''; position: absolute; left: -2px; top: 7px; bottom: 7px; width: 3px; border-radius: 2px; background: var(--lr-accent); opacity: 0; transition: opacity .2s; }
.lr-index a:hover { color: var(--lr-ink); }
.lr-index a[aria-current="true"] { color: var(--lr-accent); font-weight: 500; }
.lr-index a[aria-current="true"]::before { opacity: 1; }
.lr-chapters { min-width: 0; border-left: 1px solid var(--lr-line); }
.lr-lead { padding: 34px var(--lr-space-cell) 28px; max-width: 1120px; color: #626779; font-family: var(--lr-font); font-size: var(--lr-t-lead); font-weight: 500; line-height: 1.3; letter-spacing: -0.022em; }
.lr-lead strong { color: var(--lr-ink); font-weight: 500; }
.lr-lead-split strong { display: block; }
.lr-stage { position: relative; padding: var(--lr-space-cell); border-top: 1px solid var(--lr-line); border-bottom: 1px solid var(--lr-line); background: var(--lr-soft); }
.lr-chapter + .lr-chapter { margin-top: -1px; }

/* v5 chapters (one at a time as they are rebuilt): a two-tone heading, one grey line, then a bento of white cards,
   each with a short title, a grey line and one fragment built one-to-one from the app. */
.lr-v5 { padding: 48px var(--lr-space-cell) 0; }
.lr-v5:last-child { padding-bottom: 72px; }
.lr-v5 + .lr-v5 { padding-top: 64px; }
.lr-v5 + .lr-chapter { margin-top: 0; }
/* Two-tone hierarchy: 44px chapter answer, 24px supporting clause; 32/20 on narrow screens. */
.lr-v5-title { max-width: 1000px; color: var(--lr-ink); font-size: 44px; font-weight: 500; line-height: 48px; letter-spacing: -0.032em; }
.lr-v5-title span { display: block; margin-top: 4px; color: #6b6b75; font-size: 24px; line-height: 32px; letter-spacing: -0.025em; }
.lr-bento { display: grid; gap: 16px; margin-top: 24px; }
.lr-bcard { --pad: 28px; min-width: 0; padding: var(--pad); border: 1px solid #e8e8ee; border-radius: 16px; background: #fff; color: #1d1d22; }
.lr-bcard-title { color: var(--lr-ink); font-size: 20px; font-weight: 500; line-height: 28px; letter-spacing: -0.02em; text-wrap: balance; }
/* One anatomy for every card: the title and its line, a hairline from edge to edge, the picture on the card's own left edge. */
.lr-bcard :is(.lr-ways, .lr-synced, .lr-decide, .lr-pv) { margin: 22px calc(-1 * var(--pad)) 0; padding: 24px var(--pad) 0; border-top: 1px solid #ececf0; }
.lr-bcard-sub { margin-top: 4px; color: #6b6b75; font-size: 16px; line-height: 24px; letter-spacing: -0.01em; }
.lr-bcard .lr-icon { flex: none; stroke-width: 1.7; }

/* Trades come in: the Connections source list (left, full height), the Add trade menu and a synced connection. */
.lr-bento-sources { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: 1fr auto; }
.lr-bcard-conn { grid-row: span 2; }
.lr-conn { display: flex; flex-direction: column; font-size: 14px; }
.lr-conn-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid #dcdce2; border-radius: 6px; color: #6b6b75; font-size: 14px; }
.lr-conn-search .lr-icon { width: 18px; height: 18px; color: #6b6b75; }
.lr-conn-row { display: flex; flex: 1; align-items: center; gap: 12px; min-height: 56px; border-top: 1px solid #ececf0; }
.lr-conn-search + .lr-conn-row { margin-top: 8px; border-top: 0; }
.lr-conn-row:last-child { flex: none; min-height: 0; padding-top: 10px; }
.lr-conn-row > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.lr-conn-auto { display: inline-flex; flex: none; align-items: center; gap: 6px; color: var(--lr-accent); font-size: 14px; font-style: normal; font-weight: 500; }
.lr-conn-auto .lr-icon { width: 16px; height: 16px; }
.lr-conn-row b { font-size: 16px; font-weight: 500; }
.lr-conn-row small { color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-src-tile { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 6px; overflow: hidden; }
.lr-src-tile img { width: 100%; height: 100%; object-fit: cover; }
.lr-src-tile-oanda { background: #0b0b0e; }
.lr-src-tile-oanda img { width: 64%; height: 64%; object-fit: contain; }
.lr-bcard-ways { display: flex; flex-direction: column; }
.lr-ways { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 10px; }
.lr-ways li > span:last-child { display: flex; flex: 1; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 12px; min-width: 0; }
.lr-ways li { display: flex; align-items: center; gap: 12px; }
.lr-ways .lr-icon { box-sizing: border-box; width: 36px; height: 36px; padding: 9px; border-radius: 6px; background: #f4f4f7; color: #1d1d22; stroke-width: 1.8; }
.lr-way-logo { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: #f4f4f7; }
.lr-way-logo img { display: block; width: 22px; height: 22px; }
.lr-ways b { display: block; font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: -0.01em; }
.lr-ways small { display: block; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-synced { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.lr-synced-name b { display: block; font-size: 16px; font-weight: 500; line-height: 24px; }
.lr-synced-name small { display: flex; align-items: center; gap: 8px; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-synced-name i { width: 8px; height: 8px; border-radius: 50%; background: var(--lr-accent); }
.lr-synced-count { display: flex; align-items: baseline; gap: 6px; }
.lr-synced-count b { font-size: 24px; font-weight: 500; line-height: 32px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lr-synced-count small { color: #6b6b75; font-size: 14px; line-height: 20px; }

/* Say why: the voice note written into the Trade notes editor, and the Review panel it fills (both one-to-one). */
.lr-bento-voice { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.lr-bcard-notes { display: flex; flex-direction: column; }
.lr-note { display: flex; flex: 1; flex-direction: column; }
.lr-bstage-dots > .lr-note { display: flex; }
.lr-note-voice { display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 18px; border-radius: 12px; background: #f3f2fd; }
/* beside the waveform the voice mark would read as more of it: a recording dot */
.lr-note-rec { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--lr-accent); }
.lr-note-voice .lr-wave { flex: 1; min-width: 0; height: 30px; gap: 4px; overflow: hidden; }
.lr-note-voice .lr-wave i { width: 3px; background: var(--lr-accent); }
.lr-note-voice .lr-wave i:nth-child(n+34) { background: color-mix(in srgb, var(--lr-accent) 26%, white); }
.lr-note-voice em { color: #6b6b75; font-size: 14px; font-style: normal; font-variant-numeric: tabular-nums; }
.lr-editor { display: flex; flex: 1; flex-direction: column; min-height: 170px; border: 1px solid #e3e3ea; border-radius: 12px; overflow: hidden; }
.lr-editor-body { padding: 20px; color: #1d1d22; font-size: 16px; line-height: 24px; }
.lr-bcard-review { position: relative; }
@media (min-width: 561px) { .lr-review-head { flex-wrap: nowrap; } }
.lr-review-filled { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 11px; border-radius: 6px; background: var(--lr-accent); color: #fff; font-size: 12px; white-space: nowrap; }
.lr-review-filled b { font-weight: 600; }
.lr-bcard .lr-review-filled .lr-icon { width: 16px; height: 16px; stroke-width: 2; }
/* its own class: as .lr-review it took the testimonial card's frame and padding */
.lr-bcard-review { display: flex; flex-direction: column; }
.lr-decide { display: flex; flex: 1; flex-direction: column; color: #1d1d22; }
.lr-review-label { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; font-size: 14px; font-weight: 500; line-height: 20px; }
.lr-review-label:first-child { margin-top: 0; padding-top: 0; }
.lr-review-label .lr-icon { width: 16px; height: 16px; color: #6b6b75; }
.lr-review-label i { color: #6b6b75; font-style: normal; }
.lr-review-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.lr-review-chip, .lr-review-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 6px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.lr-review-chip { background: #ececfa; color: var(--lr-accent); }
.lr-review-chip .lr-icon { width: 16px; height: 16px; stroke-width: 2.2; }
.lr-review-btn { border: 1px solid #dcdce2; color: #1d1d22; }
.lr-review-btn .lr-icon { width: 16px; height: 16px; color: #6b6b75; }
.lr-review-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-review-link .lr-icon { width: 16px; height: 16px; }
.lr-review-stars { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.lr-review-stars .lr-icon { width: 24px; height: 24px; color: #d9d9de; fill: #d9d9de; stroke-width: 1.4; }
.lr-review-stars .is-on .lr-icon { color: var(--lr-accent); fill: var(--lr-accent); }
.lr-review-stars em { margin-left: 8px; color: #6b6b75; font-size: 14px; font-style: normal; font-variant-numeric: tabular-nums; }
.lr-review-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.lr-review-choices span { display: grid; place-items: center; height: 40px; border: 1px solid #dcdce2; border-radius: 6px; font-size: 14px; font-weight: 500; }
.lr-review-choices .is-on { border-color: #d9d6f7; background: #ececfa; color: var(--lr-accent); }

/* Card objects inherit the chapter surface; final object-specific treatments are below. */
.lr-bcard-staged { display: flex; flex-direction: column; overflow: hidden;  background: #fff; }
.lr-bstage { position: relative; flex: 1; margin: 22px calc(-1 * var(--pad)) calc(-1 * var(--pad)); border-top: 1px solid #ececf0; isolation: isolate; }
.lr-bstage-dots { padding: 28px 28px 0; background: #f1f1f3; }
/* The panel stands on the title's own left edge, the same on the right, and runs off the card's foot. A plain soft light: the
   dots read as a template (25 Nov). */
.lr-bstage-dots > .lr-bpanel { height: 100%; margin-top: 0; padding: 24px 24px 28px; border: 1px solid rgba(20, 16, 60, .1); border-bottom: 0; border-radius: 12px 12px 0 0; background: #fff; box-shadow: 0 12px 32px -20px rgba(20, 14, 70, .22); }
/* the app's switch, as Shelf / List above */
.lr-confirm { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.lr-confirm > span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 6px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.lr-confirm .lr-icon { width: 16px; height: 16px; }
.lr-confirm-go { background: var(--lr-accent); color: #fff; }

/* Replay: each firm's challenge on each monthly start, as Choose a challenge tables it (Igor 25 Nov «Ставь черновик»). */
.lr-mx-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lr-seg.lr-mx-seg { flex: none; padding: 3px; border-color: #e3e3ea; border-radius: 6px; background: #f4f4f6; font-size: 14px; }
.lr-seg.lr-mx-seg button { border: 0; border-radius: 4px; background: none; white-space: nowrap; }
.lr-seg.lr-mx-seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 1px rgb(20 16 60 / .05); color: var(--lr-accent); }
.lr-mx-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lr-mx-wrap { margin-top: 16px; }
.lr-mx { width: 100%; border-collapse: collapse; table-layout: fixed; color: #1d1d22; font-size: 14px; line-height: 20px; }
.lr-mx th { font-weight: 400; text-align: left; }
.lr-mx thead th { padding: 0 2px 8px; color: #6b6b75; font-size: 12px; line-height: 16px; text-align: center; }
.lr-mx th:first-child { width: 220px; }
.lr-mx thead th:last-child { width: 92px; padding-right: 0; text-align: right; }
.lr-mx tbody tr { border-top: 1px solid #ececf0; }
.lr-mx tbody th { padding: 6px 0; }
.lr-mx td { padding: 6px 2px; }
.lr-mx-firm { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lr-mx-firm b { display: block; overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.lr-mx-firm small { display: block; color: #6b6b75; font-size: 12px; line-height: 16px; white-space: nowrap; }
.lr-mx-firm > span:last-child { min-width: 0; }
.lr-firm-tile { display: grid; place-items: center; flex: none; width: 36px; height: 36px; overflow: hidden; border-radius: 6px; background: #0b0d10; color: #fff; font-size: 16px; font-weight: 600; }
.lr-firm-tile img { object-fit: contain; }
.lr-mx i { display: grid; place-items: center; height: 36px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; font-style: normal; font-weight: 500; line-height: 16px; font-variant-numeric: tabular-nums; transition: background-color .15s linear, border-color .15s linear; }
.lr-mx i b { font-weight: 500; }
.lr-mx i .lr-icon { display: none; width: 14px; height: 14px; stroke-width: 2.5; }
.lr-mx .is-pass { background: #e4f1e9; color: #449a6b; }
.lr-mx .is-fail { border-color: #c9c9d0; background: #f1f1f3; color: #6b6b75; }
.lr-mx .is-fail .lr-icon { display: block; }
.lr-mx .is-fail b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lr-mx .is-open { border-color: #ececf0; color: #6b6b75; }
.lr-mx .lr-mx-sum { padding-right: 0; font-size: 16px; font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lr-mx-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-mx-foot p { margin: 0; }
.lr-mx-foot > span { flex: none; }
.lr-mx-foot > span[hidden] { display: none; }
.lr-mx-foot b { color: #1d1d22; font-weight: 600; }
@media (max-width: 1100px) {
    .lr-mx-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .lr-mx th:first-child { width: 200px; }
    .lr-mx thead th:last-child { width: 72px; }
    .lr-mx-foot { flex-direction: column; gap: 4px; }
}
@media (max-width: 700px) {
    .lr-mx-top { flex-direction: column; align-items: flex-start; gap: 12px; }
    .lr-mx-wrap { margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); overflow-x: auto; scrollbar-width: none; }
    .lr-mx-wrap::-webkit-scrollbar { display: none; }
    .lr-mx { width: 592px; }
    .lr-mx tbody th, .lr-mx thead th:first-child { position: sticky; left: 0; z-index: 1; width: 176px; padding-right: 4px; background: #fff; }
    .lr-mx :is(tbody th, thead th:first-child)::before { content: ''; position: absolute; top: 0; right: 100%; bottom: 0; width: var(--pad); background: #fff; }
    .lr-mx-firm { gap: 8px; }
    .lr-mx-firm small { display: none; }
    .lr-mx-firm b { white-space: normal; line-height: 18px; }
    .lr-firm-tile { width: 32px; height: 32px; }
}

/* Your way: Setups (coloured folders and the Working list with its bars, from the app) and Notion with Key numbers. */
.lr-bento-way { grid-template-columns: minmax(0, 1fr); }
/* A setup's home: the trader's setups as a binder's tabs, the open one's rule drawn on its trade (TSB's own pins) beside its sheet. */
.lr-home { display: flex; flex-direction: column; color: #1d1d22; font-size: 14px; }
.lr-home .is-gain { color: #449a6b; }
.lr-home .is-loss { color: #c4342d; }
.lr-home-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lr-shelf-answer { display: block; text-wrap: balance; color: #6b6b75; font-size: 20px; line-height: 28px; letter-spacing: -0.015em; }
.lr-shelf-answer b { color: #1d1d22; font-weight: 600; }
.lr-shelf-answer em { font-style: normal; }
.lr-shelf-answer > span { display: inline-block; }
.lr-paper { position: relative; display: block; padding-top: 8px; }
.lr-paper > i { position: absolute; height: 24px; border: 1px solid #e6e6ea; border-bottom: 0; border-radius: 12px 12px 0 0; background: #fff; }
.lr-paper > i:first-child { top: 0; left: 16px; right: 16px; }
.lr-paper > i:nth-child(2) { top: 4px; left: 8px; right: 8px; border-color: #d4d4da; }
.lr-paper { --tint: #ecedef; --edge: #b3b5bf; }
.lr-paper > span { position: relative; display: grid; align-content: center; gap: 0; min-height: 64px; margin-top: 8px; padding: 10px 16px; border: 1px solid var(--edge); border-radius: 0 12px 12px 12px; background: var(--tint); }
.lr-paper u { position: absolute; left: -1px; top: -9px; width: 64px; height: 10px; border: 1px solid var(--edge); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--tint); }
.lr-paper u::after { content: ''; position: absolute; right: 1px; bottom: -2px; left: 1px; height: 4px; background: var(--tint); }
.lr-paper.is-active > span { --tint: #e5e3f5; --edge: var(--lr-accent); box-shadow: inset 0 0 0 1px var(--lr-accent); }
.lr-paper.is-active u { box-shadow: inset 1px 1px 0 var(--lr-accent), inset -1px 0 0 var(--lr-accent); }
.lr-paper.is-new > span { --tint: #fff; --edge: #d4d4da; justify-items: center; padding: 12px 28px; border-style: dashed; border-radius: 12px; }
.lr-paper b { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.lr-paper b .lr-icon { width: 16px; height: 16px; color: #6b6b75; }
.lr-paper.is-active b .lr-icon { color: var(--lr-accent); }
.lr-paper.is-new b { font-weight: 500; }
.lr-paper small { color: #6b6b75; font-size: 12px; line-height: 20px; }
.lr-paper em { font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.lr-setups-btn { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 6px; background: var(--lr-accent); color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; }
.lr-setups-btn .lr-icon { width: 18px; height: 18px; }
.lr-setups-btn i { width: 1px; height: 18px; background: rgb(255 255 255 / .35); }
.lr-shelf-folders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 148px; gap: 16px; margin-top: 12px; }
.lr-home-body { display: grid; flex: 1; grid-template-columns: 236px minmax(0, 1fr) 264px; gap: 24px; margin-top: 24px; }
.lr-home-list { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; min-width: 0; margin-left: -10px; }
.lr-home-list > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 8px; padding: 10px; border-radius: 6px; line-height: 20px; }
.lr-home-list .is-on { background: #f3f2fd; }
.lr-home-list b { overflow: hidden; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.lr-home-list .is-on b { font-weight: 600; }
.lr-home-list em { font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.lr-home-list i { grid-column: 1 / 3; width: var(--w); height: 6px; border-radius: 3px; background: #449a6b; }
.lr-home-list i.is-loss { background: #c4342d; }
.lr-home-chart { display: flex; flex-direction: column; min-width: 0; }
.lr-home-head { display: flex; align-items: baseline; gap: 8px; color: #6b6b75; line-height: 20px; }
.lr-home-head b { color: #1d1d22; font-weight: 600; }
.lr-home-head em { margin-left: auto; padding-right: 76px; color: #449a6b; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.lr-home-plot { position: relative; display: block; flex: 1; min-height: 300px; margin: 12px 76px 0 0; border-bottom: 1px solid #e3e3ea; }
.lr-home-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lr-hc-grid { stroke: #f1f1f4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.lr-hc-win { fill: #449a6b; fill-opacity: .1; }
.lr-hc-risk { fill: #c4342d; fill-opacity: .09; }
.lr-hc-range { fill: var(--lr-accent); fill-opacity: .12; stroke: var(--lr-accent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lr-hc-edge { stroke: var(--lr-accent); stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.lr-hc-line { stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.lr-hc-line.is-entry { stroke: var(--lr-accent); }
.lr-hc-line.is-stop { stroke: #c4342d; }
.lr-hc-line.is-exit { stroke: #449a6b; }
.lr-hc-lead { stroke: var(--lr-accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.lr-home-plot g line { stroke-width: 1; vector-effect: non-scaling-stroke; }
.lr-home-plot .is-up line { stroke: #449a6b; }
.lr-home-plot .is-up rect { fill: #449a6b; }
.lr-home-plot .is-down line { stroke: #d9605a; }
.lr-home-plot .is-down rect { fill: #d9605a; }
.lr-home-pin { position: absolute; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lr-accent); box-shadow: 0 0 0 2px #fff; color: #fff; font-size: 12px; font-style: normal; font-weight: 600; line-height: 1; transform: translate(-50%, -50%); }
.lr-home-tag { position: absolute; left: calc(100% + 6px); display: flex; flex-direction: column; width: 70px; padding: 2px 6px; border-radius: 6px; background: var(--lr-accent); color: #fff; font-size: 12px; font-style: normal; font-weight: 500; line-height: 16px; transform: translateY(-50%); font-variant-numeric: tabular-nums; }
.lr-home-tag span { opacity: .85; font-weight: 400; }
.lr-home-tag.is-stop { background: #c4342d; }
.lr-home-tag.is-exit { background: #449a6b; }
.lr-home-hours { position: relative; display: block; height: 16px; margin: 6px 76px 0 0; }
.lr-home-hours em { position: absolute; color: #6b6b75; font-size: 12px; font-style: normal; line-height: 16px; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.lr-home-sheet { position: relative; z-index: 0; display: flex; flex-direction: column; padding: 16px 20px; filter: drop-shadow(0 0 .6px rgb(20 16 60 / .35)) drop-shadow(0 8px 16px rgb(20 14 70 / .08)); }
.lr-home-sheet::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: 6px; background: #fff; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.lr-home-sheet::after { content: ''; position: absolute; top: 0; right: 0; width: 28px; height: 28px; border-bottom-left-radius: 6px; background: #d9d8e4; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.lr-home-ver { display: flex; align-items: center; gap: 8px; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-home-ver .lr-icon { width: 16px; height: 16px; }
.lr-home-rule { margin-top: 8px; font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: -0.01em; text-wrap: pretty; }
.lr-home-sheet ol { display: grid; gap: 8px; margin: 12px 0 16px; padding: 0; list-style: none; }
.lr-home-sheet li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; color: #1d1d22; font-size: 14px; line-height: 20px; text-wrap: pretty; }
.lr-home-sheet li i { display: grid; place-items: center; width: 22px; height: 22px; margin-top: -1px; border: 1px solid #c9c6ec; border-radius: 50%; color: var(--lr-accent); font-size: 12px; font-style: normal; font-weight: 600; line-height: 1; }
.lr-home-pays { display: flex; flex-direction: column; margin-top: auto; padding-top: 12px; border-top: 1px solid #ececf0; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-home-pays b { color: #449a6b; font-size: 24px; font-weight: 600; line-height: 32px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
/* The trader's own Notion page with three of TSB's widgets in it, as the widgets are drawn (assets/widget-family.js). */
.lr-notion-top { display: flex; align-items: center; gap: 20px; }
.lr-notion-logo { flex: none; width: 56px; height: 56px; }
.lr-page .lr-notion-import { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 40px; margin-left: auto; padding: 0 14px; border-radius: 6px; background: #ececfa; color: var(--lr-accent); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color .15s linear; }
.lr-page .lr-notion-import:hover { background: #e2e1f8; }
.lr-notion-import .lr-icon { width: 18px; height: 18px; }
.lr-bstage-dots > .lr-bpanel.lr-nw { display: grid; grid-template-columns: 208px minmax(0, 1fr); padding: 0; overflow: hidden; color: #37352f; }
.lr-nw-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 8px; border-right: 1px solid #ededeb; background: #f7f7f5; color: #5f5e5b; font-size: 14px; line-height: 20px; }
.lr-nw-side > span { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; }
.lr-nw-side .lr-icon { width: 18px; height: 18px; flex: none; color: #8f8e8a; stroke-width: 1.6; }
.lr-nw-side .is-on { background: #ebebe8; color: #37352f; font-weight: 500; }
.lr-nw-page { min-width: 0; padding: 0 32px 32px; }
.lr-nw-crumbs { display: none; align-items: center; gap: 8px; height: 40px; color: #8f8e8a; font-size: 14px; line-height: 20px; }
.lr-nw-crumbs i { font-style: normal; }
.lr-nw-crumbs b { color: #37352f; font-weight: 500; }
.lr-nw-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 10px; border-radius: 6px; background: #ececfa; color: var(--lr-accent); vertical-align: middle; }
.lr-nw-icon .lr-icon { width: 18px; height: 18px; stroke-width: 1.8; }
.lr-nw-title { display: block; margin-top: 8px; font-size: 32px; font-weight: 700; line-height: 40px; letter-spacing: -0.02em; }
.lr-nw-page > p { margin: 4px 0 0; color: #37352f; font-size: 16px; line-height: 24px; }
.lr-nw-row { display: grid; grid-template-columns: minmax(0, 1fr) 256px; gap: 28px; margin-top: 16px; }
.lr-nw-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lr-nw-db { min-width: 0; font-size: 14px; line-height: 20px; }
.lr-nw-views { display: flex; gap: 4px; padding-bottom: 8px; border-bottom: 1px solid #e9e9e7; color: #8f8e8a; }
.lr-nw-views span { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 6px; }
.lr-nw-views .is-on { color: #37352f; font-weight: 500; background: #f1f1ef; }
.lr-nw-views .lr-icon { width: 16px; height: 16px; stroke-width: 1.7; }
.lr-nw-tr { display: grid; grid-template-columns: minmax(84px, 1fr) 64px 172px 100px; border-bottom: 1px solid #e9e9e7; }
.lr-nw-tr > span { display: flex; align-items: center; gap: 8px; min-width: 0; height: 36px; padding: 0 8px; border-left: 1px solid #e9e9e7; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lr-nw-tr > span:first-child { padding-left: 0; border-left: 0; }
.lr-nw-tr > span:last-child { justify-content: flex-end; }
.lr-nw-tr.is-head > span { height: 32px; color: #8f8e8a; font-size: 12px; }
.lr-nw-tr .lr-icon { width: 16px; height: 16px; flex: none; color: #a5a49f; stroke-width: 1.7; }
.lr-nw-tr b { font-weight: 500; }
.lr-nw-tr em { background: #eaeaec; color: #1d1d22; overflow: hidden; padding: 0 6px; border-radius: 6px; font-style: normal; text-overflow: ellipsis; }
.lr-nw-w { display: flex; flex-direction: column; min-width: 0; padding: 12px 16px; border: 1px solid #e6e6e3; border-radius: 6px; color: #1d1d22; }
.lr-nw-w .is-gain { color: #449a6b; }
.lr-nw-w .is-loss { color: #c4342d; }
.lr-nw-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; font-size: 14px; font-weight: 500; line-height: 20px; }
.lr-nw-mark { flex: none; width: 34px; height: 10px; background: var(--lr-accent); -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.lr-nw-cap { color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-nw-big { font-size: 32px; font-weight: 600; line-height: 40px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lr-nw-path { position: relative; display: block; height: 36px; margin: 8px 4px 2px 0; }
.lr-nw-path svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lr-nw-path line { stroke: #cfcfd8; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.lr-nw-path path { fill: none; stroke: #449a6b; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lr-nw-path path.is-loss { stroke: #c4342d; }
.lr-nw-path i { position: absolute; right: -4px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #449a6b; }
.lr-nw-path i.is-loss { background: #c4342d; }
.lr-nw-rule { margin-top: 0; font-size: 20px; font-weight: 500; line-height: 28px; letter-spacing: -0.02em; }
.lr-nw-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 10px; color: #6b6b75; font-size: 12px; line-height: 16px; white-space: nowrap; }
.lr-nw-line b { color: #1d1d22; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lr-nw-bar { display: block; height: 10px; margin-top: 6px; background: #f1f1f4; }
.lr-nw-bar i { display: block; height: 100%; background: #cfe5d8; border-right: 2px solid #449a6b; }
.lr-nw-slots { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 4px; margin: 6px 0 2px; }
.lr-nw-slots i { height: 10px; border: 1px solid #dcdce2; background: #f7f7f9; }
.lr-nw-slots .is-used { border-color: #55555f; background: #55555f; }
@media (max-width: 1280px) {
    .lr-shelf-folders { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .lr-paper.is-new { display: none; }
    .lr-paper > span { padding-inline: 10px; white-space: nowrap; }
    .lr-home-body { grid-template-columns: minmax(0, 1fr) 252px; gap: 20px; margin-top: 20px; }
    .lr-home-list { grid-column: 1 / 3; flex-direction: row; justify-content: flex-start; gap: 24px; margin: 0; border-bottom: 1px solid #ececf0; }
    .lr-home-list > span { display: flex; flex-direction: column; flex: none; gap: 0; padding: 0 0 10px; border-radius: 0; }
    .lr-home-list .is-on { background: none; box-shadow: inset 0 -2px 0 var(--lr-accent); }
    .lr-home-list i { display: none; }
    .lr-home-list > span:nth-child(5) { display: none; }
    .lr-home-sheet { padding: 16px; }
    .lr-bstage-dots > .lr-bpanel.lr-nw { grid-template-columns: minmax(0, 1fr); }
    .lr-nw-side { display: none; }
}
@media (max-width: 1100px) {
    .lr-home-list > span:nth-child(4) { display: none; }
    .lr-nw-row { grid-template-columns: minmax(0, 1fr) 224px; gap: 20px; }
    .lr-nw-tr { grid-template-columns: minmax(0, 1fr) 172px 84px; }
    .lr-nw-tr > span:nth-child(2) { display: none; }
    .lr-nw-tr .lr-icon { display: none; }
    .lr-nw-tr > span:last-child { padding: 0; }
    .lr-nw-rule { font-size: 16px; line-height: 24px; }
}
@media (max-width: 700px) {
    .lr-home-top { flex-direction: column; align-items: flex-start; gap: 12px; }
    .lr-home-top .lr-setups-btn { display: none; }
    .lr-shelf-folders { display: flex; gap: 12px; margin: 12px calc(-1 * var(--pad)) 0; padding: 0 var(--pad); overflow-x: auto; scrollbar-width: none; }
    .lr-shelf-folders::-webkit-scrollbar { display: none; }
    .lr-paper { flex: 0 0 148px; }
    .lr-home-body { grid-template-columns: minmax(0, 1fr); }
    .lr-home-list { grid-column: auto; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); overflow-x: auto; scrollbar-width: none; }
    .lr-home-list::-webkit-scrollbar { display: none; }
    .lr-home-list > span:nth-child(n) { display: flex; }
    .lr-home-plot { min-height: 232px; }
    .lr-shelf-answer b { display: block; }
    .lr-home-ver, .lr-home-rule, .lr-home-pays { display: none; }
    .lr-home-sheet ol { margin: 0 20px 0 0; }
    .lr-home-head em { padding-right: 0; }
    .lr-notion-top { flex-wrap: wrap; gap: 12px; }
    .lr-notion-logo { width: 44px; height: 44px; }
    .lr-page .lr-notion-import { margin: 4px 0 0; }
    .lr-nw-page { padding: 0; }
    .lr-bstage-dots > .lr-bpanel.lr-nw { padding: 0 0 18px; border-radius: 0; }
    .lr-nw-title { padding: 0 var(--pad); font-size: 24px; line-height: 32px; }
    .lr-nw-row { grid-template-columns: minmax(0, 1fr); padding: 0 var(--pad); }
    .lr-nw-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) 80px; }
    .lr-nw-tr:nth-child(n+7) { display: none; }
    .lr-nw-tr .lr-icon { display: block; }
    .lr-nw-col { flex-direction: row; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .lr-nw-col::-webkit-scrollbar { display: none; }
    .lr-nw-w { flex: 0 0 82%; scroll-snap-align: center; }
}

/* The app's folder: a filled folder shape (indigo, or grey for Unfiled), its own glyph in white. */
.lr-thumb-zone { fill: rgba(68, 154, 107, .22); }
.lr-thumb-line { fill: none; stroke: #6b6b75; stroke-width: 1.2; stroke-linejoin: round; }
/* A split card: a hairline from the card's top to its bottom, each half on the same padding. */
.lr-bcard-notion { position: relative; }
.lr-bcard-notion > .lr-anchor { position: absolute; top: 0; }
/* The Notion page is the card's right half itself (no frame of its own); only the TSB widget has a frame. */

/* What's working (the signature). Four type sizes only: card title, numbers 28, text 15, notes 13. Figures stack
   left (label, number, note: no gaps), charts fill the right. App colours: green #449a6b on a very light fill, red
   #c4342d, thin lines; numbers in ink, colour only on the dot and on the result. */
.lr-bento-xray { grid-template-columns: 1fr; }
:where(body:not(.lr-landing-page)) .is-gain { color: #2e8550; }
:where(.lr-landing-page) .is-gain { color: #449a6b; }
.is-loss { color: #c4342d; }
.lr-x-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
/* The meta sits under the title, so the space above the chart stays free for the month cursor's label. */
.lr-x-head.is-stacked { flex-direction: column; gap: 2px; }
.lr-x-head > span, .lr-x-sub, .lr-x-note, .lr-rules small, .lr-rules-note { color: #6b6b75; font-size: 14px; line-height: 1.45; }
.lr-x-sub { margin-top: 4px; font-size: 14px; }
.lr-x-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); column-gap: 32px; margin-top: 20px; }
.lr-x-figures > div { padding: 14px 0; border-top: 1px solid #ececf0; }
.lr-x-figures > div:first-child { padding-top: 0; border-top: 0; }
.lr-x-figures dt { display: flex; align-items: center; gap: 8px; color: #1d1d22; font-size: 14px; }
.lr-x-figures dt i { width: 8px; height: 8px; border-radius: 50%; }
.lr-x-figures dt i.is-gain { background: #449a6b; }
.lr-x-figures dt i.is-loss { background: #c4342d; }
.lr-x-num { margin-top: 2px; color: #1d1d22; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.is-kept .lr-x-num { font-weight: 600; }
.lr-x-note { margin-top: 2px; }
.lr-xc-gain, .lr-xc-loss, .lr-xc-traded { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.lr-xc-gain { stroke: #449a6b; }
.lr-xc-loss { stroke: #c4342d; }
.lr-xc-traded { stroke: #8a8a94; stroke-width: 2; stroke-dasharray: 4 5; }
@keyframes lr-xc-pulse { 0% { transform: scale(.6); opacity: .45; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.lr-x-share-copy { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #ececf0; }
.lr-x-share-copy b { color: #1d1d22; font-size: 14px; font-weight: 500; }
.lr-x-share-copy span { color: #6b6b75; font-size: 14px; }
.lr-x-share { display: grid; grid-template-columns: repeat(19, minmax(0, 1fr)); align-items: end; gap: 4px; margin: 18px 6px 0 40px; padding-top: 16px; border-top: 1px solid #ececf0; align-self: stretch; }
.lr-x-share i { display: block; border-radius: 2px; background: #e3e3ea; }
.lr-x-share i.is-now { background: #c4342d; opacity: .75; }
.lr-bcard-rules { display: grid; grid-template-columns: 360px minmax(0, 1fr); column-gap: 32px; }
.lr-rules-copy { display: flex; flex-direction: column; }
.lr-rules { margin-top: 16px; }
.lr-rules li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: baseline; column-gap: 8px; row-gap: 2px; padding: 12px 0; border-top: 1px solid #ececf0; }
.lr-rules li > span { color: #8a8a94; font-size: 14px; font-variant-numeric: tabular-nums; }
.lr-rules b { color: #1d1d22; font-size: 14px; font-weight: 500; }
.lr-rules em { color: #449a6b; font-size: 14px; font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.lr-rules small { grid-column: 2 / -1; }
.lr-rules-note { margin-top: auto; padding-top: 12px; border-top: 1px solid #ececf0; }
.lr-rules-total { display: flex; align-items: flex-end; gap: 18px; }
.lr-rules-total > span { display: flex; flex-direction: column; gap: 2px; }
.lr-rules-total small { display: flex; align-items: center; gap: 8px; color: #6b6b75; font-size: 14px; }
.lr-rules-total small i { width: 14px; border-top: 2px solid #449a6b; }
.lr-rules-total small i.is-traded { border-top: 2px dashed #8a8a94; }
.lr-rules-total b { color: #1d1d22; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lr-rules-total b.is-gain { color: #449a6b; }
.lr-rules-total > .lr-icon { width: 18px; height: 18px; margin-bottom: 8px; color: #8a8a94; }

/* Shared product pieces in the chapters (app palette). The base below also serves the lower sections. */
.lr-win, .lr-card, .lr-dialog { border: 1px solid var(--lr-app-line); border-radius: var(--lr-radius-card); background: #fff; color: var(--lr-app-ink); font-size: 14px; box-shadow: var(--lr-shadow-card); }
.lr-win .lr-icon, .lr-card .lr-icon, .lr-dialog .lr-icon { width: 16px; height: 16px; stroke-width: 1.85; }
.lr-card { padding: 22px 24px; }
.lr-card-title { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.012em; }
.lr-mini-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 13px; border: 1px solid var(--lr-app-border); border-radius: var(--lr-radius-control); background: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; }
.lr-mini-btn-primary { border-color: var(--lr-accent); background: var(--lr-accent); color: #fff; }
.lr-mini-btn-soft { border-color: var(--lr-accent-line); background: var(--lr-accent-soft); color: var(--lr-accent); }
.lr-chip-accent { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--lr-radius-control); background: var(--lr-accent-soft); color: var(--lr-accent); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.lr-stars { display: flex; gap: 4px; }
.lr-stars .lr-icon { width: 16px !important; height: 16px !important; color: #9a9d97; stroke-width: 1.6 !important; }
.lr-stars .is-on .lr-icon { color: var(--lr-accent); fill: var(--lr-accent); }

/* Fragments in the chapters: Attio's density — 13px UI text at 400/500, light 1px borders, 12px radius, one soft
   shadow, generous padding, no frame inside a frame. */
.lr-product :is(.lr-win, .lr-card, .lr-dialog) { font-size: 14px; line-height: 1.45; box-shadow: 0 10px 30px -12px rgba(18, 19, 34, .16); }
.lr-product .lr-card { padding: 20px 22px; }
.lr-product .lr-card-title { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.lr-product :is(.lr-win, .lr-card, .lr-dialog) .lr-icon { width: 15px; height: 15px; stroke-width: 1.8; }
.lr-account, .lr-firm { display: inline-flex; align-items: center; gap: 8px; }
.lr-account .lr-logo { width: 16px; height: 16px; border-radius: 4px; }


/* Every session: the app's Trading Day (Prepare) with each account's limits filled in, and the after-session check.
   Same four sizes as above: card title, numbers 28, text 15, notes 13. */
/* one column line for the wide/narrow rows: the narrow card as wide as "Your words, with a price." (Igor 26 Nov «колонки разные по ширине», «лучше нижний где loop сделать шире немного») */
.lr-bento-day, .lr-bento-prop { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.lr-td-steps { display: flex; gap: 20px; color: #6b6b75; font-size: 14px; line-height: 32px; }
.lr-td-steps li { display: inline-flex; align-items: center; gap: 8px; }
.lr-td-steps i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f1f1f4; color: #6b6b75; font-size: 12px; font-style: normal; font-weight: 600; line-height: 1; }
.lr-td-steps .is-on { color: var(--lr-accent); font-weight: 500; }
.lr-td-steps .is-on i { background: var(--lr-accent); color: #fff; }
/* Today's focus as one strip under the steps, so the accounts get the card's full width. */
.lr-td-focus { display: flex; align-items: center; gap: 24px; padding: 12px 16px; border-radius: 12px; background: #f3f2fd; }
.lr-td-focus > span:first-child { display: flex; flex: none; flex-direction: column; }
.lr-td-focus-note { padding-left: 24px; border-left: 1px solid #dcd9f5; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-td-focus-note b { color: #449a6b; font-weight: 600; }
.lr-td-focus small { color: #6b6b75; font-size: 14px; }
.lr-td-focus b { color: #1d1d22; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.lr-td-focus span { color: #6b6b75; font-size: 14px; line-height: 20px; }
/* a button of the picture's: drawn as one, it promises no page */
.lr-ui-btn.lr-ui-btn { display: inline-flex; flex: none; align-items: center; height: 36px; margin-left: auto; padding: 0 12px; border: 1px solid #dcdce2; border-radius: 6px; background: #fff; color: #1d1d22; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.lr-td-body, .lr-dayb, .lr-loop-panel { display: flex; flex-direction: column; }
.lr-dayb { flex: 1; }
.lr-loop { display: flex; flex: 1; flex-direction: column; gap: 20px; }
.lr-loop-head { display: flex; align-items: center; gap: 12px; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-loop-head i { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lr-accent); color: #fff; }
.lr-loop-head i.is-broke { background: #e7e7eb;  color: #1d1d22; }
.lr-loop-head .lr-icon { width: 24px; height: 24px; stroke-width: 2.5; }
.lr-loop-head b { display: block; color: #1d1d22; font-size: 20px; font-weight: 600; line-height: 24px; letter-spacing: -0.02em; }
.lr-loop-cal { display: grid; flex: 1; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: 16px; grid-auto-rows: minmax(38px, 1fr); gap: 4px; }
.lr-loop-cal em { color: #6b6b75; font-size: 12px; font-style: normal; line-height: 16px; text-align: center; }
.lr-loop-cal i { display: grid; place-items: center; min-width: 0; border: 1px solid transparent; border-radius: 6px; color: #6b6b75; font-size: 12px; font-style: normal; font-weight: 500; line-height: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lr-loop-cal .lr-icon { width: 16px; height: 16px; stroke-width: 2.5; }
.lr-loop-cal .is-kept { background: #ecebf5; color: var(--lr-accent); }
.lr-loop-cal .is-broke { border-color: #c9c9d0; background: #f3f3f5; color: #c4342d; font-weight: 600; letter-spacing: -0.02em; }
.lr-loop-cal .is-open { border-color: #ececf0; }
.lr-loop-cal .is-broke.is-up { color: #449a6b; }
.lr-loop-cal .is-kept.is-today { background: var(--lr-accent); color: #fff; }
.lr-loop-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: #6b6b75; font-size: 14px; line-height: 20px; white-space: nowrap; }
.lr-loop-foot b { color: #1d1d22; font-weight: 600; }
.lr-loop-foot .is-loss { color: #c4342d; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (min-width: 701px) and (max-width: 1280px) {
    .lr-loop { display: grid; grid-template-columns: minmax(216px, 1fr) minmax(0, 420px); grid-template-rows: auto 1fr; gap: 20px 48px; }
    .lr-loop-cal { grid-area: 1 / 2 / span 2 / 3; }
    .lr-loop-foot { flex-direction: column; justify-content: flex-end; gap: 4px; }
    .lr-loop-foot b { font-size: 32px; line-height: 40px; letter-spacing: -0.03em; }
}
.lr-loop-facts { margin-top: auto; padding-top: 16px; }
.lr-loop-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #ececf0; font-size: 14px; }
.lr-loop-facts dt { color: #6b6b75; }
.lr-loop-facts dd { color: #1d1d22; font-weight: 500; text-align: right; white-space: nowrap; }

/* Prop: the app's Prop Manager card for the FTMO attempt, and a replay of the same history against Topstep's rules. */
.lr-pa-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #ececf0; }
.lr-pa-head .lr-logo { width: 36px; height: 36px; border-radius: 6px; }
.lr-pa-head > span:nth-child(2) { display: flex; flex-direction: column; margin-right: auto; }
.lr-pa-head > span:nth-child(2) b { color: #1d1d22; font-size: 14px; font-weight: 500; }
.lr-pa-head > span:nth-child(2) small { color: #6b6b75; font-size: 14px; }
.lr-pa-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid #dcdce2; border-radius: 6px; color: #1d1d22; font-size: 14px; white-space: nowrap; }
.lr-pa-chip.is-accent { border-color: #e3e1f7; background: #f1f0fb; color: var(--lr-accent); }
.lr-pa-chip .lr-icon { width: 14px; height: 14px; }
.lr-pa-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px 0; border-bottom: 1px solid #ececf0; }
.lr-pa-figures > div { display: flex; flex-direction: column; gap: 2px; padding: 0 20px; }
.lr-pa-figures > div:first-child { padding-left: 0; }
.lr-pa-figures > div + div { border-left: 1px solid #ececf0; }
.lr-pa-figures small, .lr-pa-figures span { color: #6b6b75; font-size: 14px; }
.lr-pa-figures b { color: #1d1d22; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lr-pa-progress { position: relative; display: block; height: 4px; margin-top: 8px; border-radius: 6px; background: #ececf0; overflow: hidden; }
.lr-pa-progress i { position: absolute; left: 0; top: 0; bottom: 0; min-width: 4px; border-radius: 6px; background: #449a6b; }
.lr-pa-progress.is-room i { background: linear-gradient(90deg, #cfe8d9, #449a6b); }
.lr-pa-pips { display: flex; gap: 4px; margin-top: 8px; }
.lr-pa-pips i { flex: 1; height: 4px; border-radius: 6px; background: #ececf0; }
.lr-pa-pips i.is-on { background: var(--lr-accent); }
.lr-pa-figures span > i { margin-left: 4px; padding: 1px 6px; border: 1px solid #dcdce2; border-radius: 5px; font-style: normal; }
.lr-pa-stand { padding-top: 16px; }
.lr-pa-stand-head { display: flex; justify-content: space-between; gap: 16px; color: #6b6b75; font-size: 14px; }
.lr-pa-stand-head small { font-size: 14px; }
.lr-pa-track { position: relative; display: block; height: 6px; margin-top: 34px; border-radius: 6px; background: #ececf0; }
/* Max loss on the left in red, the target on the right in green, the middle neutral. */
.lr-pa-track.is-zones { height: 8px; background: linear-gradient(90deg, #c4342d 0, #e8a6a3 6%, #ececf0 22%, #ececf0 78%, #b5dcc4 94%, #449a6b 100%); }
.lr-pa-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, #f3d6d4, #e6e6ec 30%, #e6e6ec); }
.lr-pa-dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 3px solid #fff; border-radius: 50%; background: #1d1d22; box-shadow: 0 1px 4px rgba(20, 14, 70, .3); }
.lr-pa-dot b { position: absolute; bottom: 18px; left: 50%; color: #1d1d22; font-size: 14px; font-style: normal; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
.lr-pa-scale { display: flex; justify-content: space-between; margin-top: 10px; color: #6b6b75; font-size: 14px; }
.lr-pa-today { margin-top: 18px; padding-top: 14px; border-top: 1px solid #ececf0; }
.lr-pa-track.is-today { margin-top: 12px; }
.lr-pa-track.is-today::before { content: ''; position: absolute; right: 0; top: -3px; width: 2px; height: 12px; border-radius: 1px; background: #1d1d22; }
.lr-pa-scale b { color: #1d1d22; font-weight: 500; }

/* Live data (motion only for visitors who allow it): the hero curve's month cursor, new trades arriving, bars growing. */
.lr-j-curve-wrap { position: relative; display: block; }
.lr-j-curve-end { position: absolute; right: 1.5%; top: 9%; width: 9px; height: 9px; margin: -4.5px -4.5px 0 0; border: 2px solid #fff; border-radius: 50%; background: #449a6b; box-shadow: 0 0 0 4px rgba(68, 154, 107, .18); }
.lr-jcursor { position: absolute; top: -8px; bottom: -2px; width: 0; border-left: 1px solid rgba(29, 29, 34, .25); opacity: 0; transition: left .45s var(--lr-ease), opacity .4s; pointer-events: none; }
.lr-jcursor.is-on { opacity: 1; }
.lr-jcursor i { position: absolute; left: -5px; width: 10px; height: 10px; margin-top: -5px; border: 2px solid #fff; border-radius: 50%; background: #449a6b; box-shadow: 0 1px 4px rgba(20, 14, 70, .3); transition: top .45s var(--lr-ease); }
.lr-jcursor span { position: absolute; top: -22px; left: 10px; transition: top .45s var(--lr-ease); padding: 2px 7px; border-radius: 6px; background: #1d1d22; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lr-jcursor span b { margin-right: 6px; color: rgba(255, 255, 255, .6); font-weight: 500; }
.lr-jcursor.is-flip span { left: auto; right: 8px; }
.lr-synced-trades { margin-top: 16px; }
.lr-synced-trades li { display: grid; grid-template-columns: 36px 72px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 40px; border-top: 1px solid #ececf0; font-size: 14px; line-height: 20px; }
.lr-synced-trades li:last-child { height: 30px; align-items: end; }
.lr-synced-trades b { color: #1d1d22; font-weight: 500; }
.lr-synced-side { display: inline-flex; align-items: center; gap: 5px; color: #1d1d22; font-size: 14px; }
.lr-synced-side .lr-icon { width: 13px; height: 13px; }
.lr-synced-trades small { color: #6b6b75; font-size: 14px; }
.lr-synced-trades em { font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
    [data-lr-arrive].is-armed li { opacity: .4; transition: opacity .25s var(--lr-ease); transition-delay: calc(var(--i) * 70ms + 60ms); }
    [data-lr-arrive].is-in li { opacity: 1; }
}

/* ---------- Lower half (v4 pictures): one heading style, Attio weights ---------- */
.lr-h2 { color: var(--lr-ink); font-family: var(--lr-font); font-size: var(--lr-t-h2); font-weight: 500; line-height: 1.1; letter-spacing: -0.035em; }
.lr-h2 span { color: var(--lr-muted); }
.lr-h2-centered { max-width: 1060px; text-align: center; }
.lr-h2-stacked span, .lr-h2-wide { display: block; }
.lr-h2-stacked { max-width: 1240px; }
.lr-h2-wide { max-width: none !important; }
.lr-h2-wide span { display: inline; }
.lr-lower-pill-gap { margin-top: 20px; }
/* From a link: a pasted video link read by TSB. The phrases it found in the transcript (numbered marks) become the
   rules (same numbers), and the rules go two ways: compared with your history and the market, or applied to an account.
   Hairlines, small type, mono for times and values; the stage keeps the page's faint dot grid. */
/* Connectors in the gaps: video → rules, rules → each outcome (a hairline with port dots). */
/* each card draws its own half of the spine, so the joins meet at any height */
/* Reading, once on screen: the caret blinks, the status reads, each phrase is marked and its rule appears, then the
   outcomes. Motion-tolerant visitors only; the final state is the page's own. */
@media (prefers-reduced-motion: no-preference) {
    [data-lr-link].is-in li[data-i="0"] mark { transition-delay: .25s; }
    [data-lr-link].is-in li[data-i="1"] mark { transition-delay: .4s; }
    [data-lr-link].is-in li[data-i="2"] mark { transition-delay: .55s; }
    [data-lr-link].is-in li[data-i="3"] mark { transition-delay: .7s; }
}

/* The dark statement and every broker. */
.lr-dark { position: relative; background: #1d1d22; color: #fff; overflow: hidden; }
.lr-dark-statement > .lr-container { position: relative; z-index: 1; }
.lr-dark-statement { position: relative; padding: 56px 0 32px; overflow: hidden; }
.lr-dark-kicker { position: relative; color: #bdbdc7; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.lr-dark-display { position: relative; margin-top: 10px; color: #fff; font-family: var(--lr-font); font-size: clamp(32px, 3vw, 44px); font-weight: 600; line-height: 1.1; letter-spacing: -0.045em; }
@media (max-width: 1100px) {
    .lr-dark-statement { padding: 56px 0 32px; }
}
@media (max-width: 1100px) and (min-width: 701px) {
    .lr-dark-copy br { display: none; }
}
.lr-dark-stack { position: relative; padding: 32px 0 56px; border-top: 0; }
.lr-h2-dark { color: #fff; }
.lr-dark-copy { margin-top: 20px; text-wrap: balance; color: #c9cad3; font-size: 16px; line-height: 1.55; }
.lr-page .lr-dark-link { margin-top: 16px; color: #a49dff; font-size: 16px; }
.lr-tiles { display: flex; justify-content: center; gap: 20px; margin: 48px 0 0; padding: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); }
.lr-tile { display: grid; flex: none; grid-template-rows: 40px 20px; place-content: center; place-items: center; gap: 4px; min-width: 128px; height: 108px; padding: 0 20px; border: 1px solid #23232b; border-radius: 12px; background: #29292f; color: #fff;  border-color: #41414a; }
.lr-tile.is-symbol { grid-template-rows: 40px; min-width: 108px; }
.lr-tile-name { color: #e8e9f1; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.005em; white-space: nowrap; }
.lr-tile .lr-mark, .lr-tile-img { width: 34px; height: 34px; }
.lr-tile.is-symbol .lr-mark, .lr-tile.is-symbol .lr-tile-img { width: 42px; height: 42px; }
.lr-tile .lr-mark-bybit { width: 70px !important; height: 24px !important; }
.lr-tile .lr-mark-topstep { width: 18px; height: 32px; }
.lr-tile .lr-mark-ibkr { width: 18px; height: 34px; }
.lr-tile .lr-mark-ninjatrader { width: 40px; height: 28px; }
.lr-tile.is-symbol .lr-mark-tradingview { width: 52px; height: 34px; }
.lr-tile .lr-mark-fundednext { width: 52px; height: 27px; }
.lr-tile-img { object-fit: contain; filter: brightness(0) invert(1); }
.lr-tile-img-apex { width: 54px !important; height: 28px !important; }

/* Proof: reviews from the site in a row that scrolls past the page edge (each firm's own mark), then what changed
   lately as four staged app fragments. Type in the cards: 18 quote, 15 name, 13 the rest. */
.lr-proof { padding: var(--lr-space-section) 0 var(--lr-space-step); background: #fff; color: var(--lr-ink); text-align: left; }
.lr-proof .lr-h2 { max-width: none; }
.lr-proof-trust { margin-top: 20px; }
/* the row bleeds to the window's edges; 100vw counts a classic scrollbar, so the section clips what would scroll sideways */
.lr-proof { overflow-x: clip; }
.lr-reviews { --lr-rv-edge: max(var(--lr-gutter), calc((100vw - var(--lr-page)) / 2)); --lr-rv-gap: 20px; margin: 40px calc(-1 * var(--lr-rv-edge)) 0; }
.lr-reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(500px, calc((100% + var(--lr-rv-edge) - 2 * var(--lr-rv-gap)) / 2.7)); gap: var(--lr-rv-gap); padding: 2px var(--lr-rv-edge); overflow-x: auto; scroll-padding-inline: var(--lr-rv-edge); overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lr-reviews-track::-webkit-scrollbar { display: none; }
.lr-reviews-track:focus-visible { outline: 2px solid var(--lr-accent); outline-offset: 4px; border-radius: 16px; }
.lr-review { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 28px; border: 1px solid #e3e3ea; border-radius: 16px; background: #fff; scroll-snap-align: start; }
/* the quote is the card, its one phrase marked as the first chapter marks its own; the firm signs small, by the name */
.lr-review blockquote { margin: 0; color: #1d1d22; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.018em; }
.lr-review mark { padding: .06em .16em .1em; border-radius: 6px; color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lr-review mark.is-cost { background: #ededf0; }
.lr-review mark.is-gain { background: #ededf0; }
.lr-review mark.is-tsb { background: #e6e4f8; }
.lr-review figcaption { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 32px; }
.lr-review-who { min-width: 0; }
.lr-review-who b { display: block; color: var(--lr-ink); font-size: 14px; font-weight: 500; line-height: 20px; }
.lr-review-who small { display: block; color: #6b6b75; font-size: 14px; line-height: 20px; }
/* Legacy is-dark hook retains the same neutral review surface as its neighbours. */
.lr-review.is-dark { position: relative; isolation: isolate; overflow: hidden; border-color: #e3e3e7; background: #fff; }
.lr-review.is-dark :is(blockquote, .lr-review-who b, .lr-firm) { color: #1d1d22; }
.lr-review.is-dark .lr-review-who small { color: #6b6b75; }
.lr-review.is-dark mark.is-tsb { background: #ecebf5; }
.lr-reviews-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.lr-proof-note { color: #6b6b75; font-size: 12px; line-height: 16px; }
@media (max-width: 1100px) { .lr-proof .lr-h2 > span { display: block; text-wrap: balance; } }
.lr-reviews-nav { display: flex; flex: none; gap: 10px; }
.lr-reviews-nav button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #e3e3ea; border-radius: 50%; background: #fff; color: var(--lr-ink); cursor: pointer; transition: border-color .15s, color .15s, opacity .15s; }
.lr-reviews-nav button:hover:not(:disabled) { border-color: #c9c9d4; }
.lr-reviews-nav button:disabled { color: #b4b4bd; cursor: default; }
.lr-reviews-nav .lr-icon { width: 18px; height: 18px; }

/* Each firm as it signs itself: its mark and its name set the way the firm sets it. */
.lr-firm { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 20px; color: #0b0b0f; line-height: 1; }
.lr-firm .lr-mark { width: auto; height: 16px; }
.lr-firm > span { font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.lr-firm-ftmo > span { letter-spacing: .06em; }
.lr-firm-topstep .lr-mark { height: 18px; }
.lr-firm-lucid img { width: auto; height: 24px; }
.lr-firm-fundednext > span { letter-spacing: -0.01em; }
.lr-firm-bybit .lr-mark path:first-child { fill: #f7a600; }
.lr-firm-mt5 img { width: 18px; height: 18px; border-radius: 4px; }
.lr-firm-mt5 > span { font-size: 14px; font-weight: 600; letter-spacing: -0.015em; }

:where(body:not(.lr-landing-page)) .lr-pricing { padding: var(--lr-space-step) 0 var(--lr-space-step); }
:where(body:not(.lr-landing-page)) .lr-pricing-sub { margin-top: 14px; color: var(--lr-muted); font-size: 19px; letter-spacing: -0.01em; }
:where(body:not(.lr-landing-page)) .lr-pricing .lr-h2 span { color: #6b6b78; }
:where(body:not(.lr-landing-page)) .lr-period { display: inline-flex; gap: 2px; margin-top: 28px; padding: 4px; border-radius: 999px; background: #f1f1f5; }
:where(body:not(.lr-landing-page)) .lr-period button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: #6b6b75; font: 500 15px/1 var(--lr-font); cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
:where(body:not(.lr-landing-page)) .lr-period button[aria-pressed="true"] { background: #fff; color: var(--lr-ink); box-shadow: 0 1px 2px rgba(20, 16, 60, .08), 0 0 0 1px rgba(20, 16, 60, .05); }
:where(body:not(.lr-landing-page)) .lr-period-save { color: #2e8550; }
:where(body:not(.lr-landing-page)) .lr-plans { --lr-plan-line: #e6e6ec; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); max-width: var(--lr-inner); margin: 56px auto 0; border-top: 1px solid var(--lr-plan-line); border-bottom: 1px solid var(--lr-plan-line); }
:where(body:not(.lr-landing-page)) .lr-plan { --pad: 36px; position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; min-width: 0; padding: 30px var(--pad) 34px; border-left: 1px solid var(--lr-plan-line); }
:where(body:not(.lr-landing-page)) .lr-plan:last-child { border-right: 1px solid var(--lr-plan-line); }
:where(body:not(.lr-landing-page)) .lr-plan::before, :where(body:not(.lr-landing-page)) .lr-plan::after, :where(body:not(.lr-landing-page)) .lr-plans::before, :where(body:not(.lr-landing-page)) .lr-plans::after { content: ''; position: absolute; z-index: 2; width: 11px; height: 11px; background: linear-gradient(#a9a9b4, #a9a9b4) center / 11px 1px no-repeat, linear-gradient(#a9a9b4, #a9a9b4) center / 1px 11px no-repeat; pointer-events: none; }
:where(body:not(.lr-landing-page)) .lr-plan::before { top: -6px; left: -6px; }
:where(body:not(.lr-landing-page)) .lr-plan::after { bottom: -6px; left: -6px; }
:where(body:not(.lr-landing-page)) .lr-plans::before { top: -6px; right: -6px; }
:where(body:not(.lr-landing-page)) .lr-plans::after { bottom: -6px; right: -6px; }
:where(body:not(.lr-landing-page)) .lr-plan[id] { scroll-margin-top: calc(var(--lr-nav-h) + 24px); }
:where(body:not(.lr-landing-page)) .lr-plan-card-pro { background: radial-gradient(90% 46% at 50% 0%, rgba(124, 112, 255, .13), rgba(124, 112, 255, 0) 72%), linear-gradient(180deg, rgba(68, 58, 184, .025), rgba(68, 58, 184, 0) 60%); box-shadow: inset 0 2px 0 var(--lr-accent); }
:where(body:not(.lr-landing-page)) .lr-meter > span, :where(body:not(.lr-landing-page)) .lr-plan-rows span, :where(body:not(.lr-landing-page)) .lr-plans-every span { color: #6b6b75; font: 500 11.5px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
:where(body:not(.lr-landing-page)) .lr-plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--lr-ink); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
:where(body:not(.lr-landing-page)) .lr-plan-badge { padding: 4px 11px; border-radius: 999px; background: #ecebfb; color: var(--lr-accent); font-size: 13px; font-weight: 500; letter-spacing: 0; }
:where(body:not(.lr-landing-page)) .lr-plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; }
:where(body:not(.lr-landing-page)) .lr-plan-price b { color: var(--lr-ink); font-size: 56px; font-weight: 500; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
:where(body:not(.lr-landing-page)) .lr-plan-price span { color: #6b6b75; font-size: 17px; }
:where(body:not(.lr-landing-page)) .lr-plan-billing { margin-top: 12px; color: #6b6b75; font-size: 15px; }
:where(body:not(.lr-landing-page)) .lr-plan-lead { margin-top: 4px; color: #34343c; font-size: 15px; line-height: 1.45; }
.lr-page:where(:not(.lr-landing-page)) .lr-plan-cta { width: 100%; min-height: 46px; margin-top: 24px; font-size: 16px; }
.lr-page:where(:not(.lr-landing-page)) .lr-plan-cta:not(.lr-button-primary) { border: 1px solid #dcdce4; background: #fff; color: var(--lr-ink) !important; }
.lr-page:where(:not(.lr-landing-page)) .lr-plan-cta:not(.lr-button-primary):hover { border-color: #c4c4ce; background: #f7f7fa; }
:where(body:not(.lr-landing-page)) .lr-plan-specs { display: flex; flex-direction: column; margin: 28px calc(-1 * var(--pad)) -34px; padding: 0; list-style: none; border-top: 1px solid var(--lr-plan-line); }
:where(body:not(.lr-landing-page)) .lr-meter, :where(body:not(.lr-landing-page)) .lr-plan-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 12px; padding: 15px var(--pad) 16px; }
:where(body:not(.lr-landing-page)) .lr-meter + .lr-meter, :where(body:not(.lr-landing-page)) .lr-plan-rows li + li { border-top: 1px solid #f0f0f4; }
:where(body:not(.lr-landing-page)) .lr-meter b { color: var(--lr-ink); font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
:where(body:not(.lr-landing-page)) .lr-meter-text { align-items: baseline; }
:where(body:not(.lr-landing-page)) .lr-meter-text b { white-space: normal; text-align: right; }
:where(body:not(.lr-landing-page)) .lr-meter i { position: relative; grid-column: 1 / -1; height: 3px; margin-top: 4px; overflow: hidden; border-radius: 2px; background: #ededf2; }
:where(body:not(.lr-landing-page)) .lr-meter i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(max(var(--v), .04) * 100%); border-radius: 2px; background: #a3a3ad; transform-origin: left center; }
:where(body:not(.lr-landing-page)) .lr-plan-card-pro .lr-meter i::before { background: var(--lr-accent); }
:where(body:not(.lr-landing-page)) .lr-plans.is-armed .lr-meter i::before { transform: scaleX(0); }
:where(body:not(.lr-landing-page)) .lr-plans.is-in .lr-meter i::before { transform: scaleX(1); transition: transform .9s cubic-bezier(.2, .7, .2, 1) calc(var(--d) * 70ms + 120ms); }
:where(body:not(.lr-landing-page)) .lr-plan-rows { justify-content: space-between; }
:where(body:not(.lr-landing-page)) .lr-plan-rows li { flex: 1; grid-template-columns: minmax(0, 1fr); align-content: center; }
:where(body:not(.lr-landing-page)) .lr-plan-rows b { color: var(--lr-ink); font-size: 15px; font-weight: 400; }
:where(body:not(.lr-landing-page)) .lr-plans-every { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 12px; margin-top: 26px; color: #34343c; font-size: 15px; text-align: center; }
:where(body:not(.lr-landing-page)) .lr-plans-trust { margin: 12px auto 0; max-width: 760px; text-wrap: balance; color: #6b6b75; font-size: 14px; line-height: 1.5; text-align: center; }
.lr-page:not(.lr-pricing-page):where(:not(.lr-landing-page)) :is(.lr-meter > span, .lr-plans-every span) { color: #6b6b75; font: 400 14px/20px var(--lr-font); letter-spacing: 0; text-transform: none; }
.lr-page:not(.lr-pricing-page):where(:not(.lr-landing-page)) .lr-compare-group th { color: #1d1d22; font: 500 14px/20px var(--lr-font); letter-spacing: 0; text-transform: none; }
.lr-page:not(.lr-pricing-page):where(:not(.lr-landing-page)) .lr-meter b { font-size: 14px; line-height: 20px; }
.lr-page:not(.lr-pricing-page):where(:not(.lr-landing-page)) .lr-plan-specs > .lr-meter-text { flex: 1; align-content: start; }
:where(body:not(.lr-landing-page)) .lr-plan-max .lr-meter i::before { background: var(--lr-ink); }
:where(body:not(.lr-landing-page)) .lr-button-sm { min-height: 32px; padding: 0 14px; font-size: 13.5px; }
:where(body:not(.lr-landing-page)) .lr-compare-all { max-width: var(--lr-inner); margin: 72px auto 0; scroll-margin-top: calc(var(--lr-nav-h) + 8px); }
:where(body:not(.lr-landing-page)) .lr-compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
:where(body:not(.lr-landing-page)) .lr-compare-table th, :where(body:not(.lr-landing-page)) .lr-compare-table td { padding: 9px 20px; border-bottom: 1px solid #f0f0f4; text-align: left; vertical-align: top; line-height: 1.45; }
:where(body:not(.lr-landing-page)) .lr-compare-table thead th { position: sticky; top: var(--lr-nav-h); z-index: 3; padding: 18px 20px 16px; border-top: 1px solid #e6e6ec; border-bottom: 1px solid #e6e6ec; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); vertical-align: bottom; }
:where(body:not(.lr-landing-page)) .lr-compare-table thead th.lr-compare-pro { background: rgba(247, 246, 255, .96); box-shadow: inset 0 2px 0 var(--lr-accent); }
:where(body:not(.lr-landing-page)) .lr-compare-title { color: var(--lr-ink); font-size: 26px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
:where(body:not(.lr-landing-page)) .lr-compare-plan { display: block; color: var(--lr-ink); font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
:where(body:not(.lr-landing-page)) .lr-compare-price { display: block; margin-top: 2px; color: #6b6b75; font-size: 14px; font-weight: 400; font-variant-numeric: tabular-nums; }
.lr-page:where(:not(.lr-landing-page)) .lr-compare-cta { min-height: 34px; margin-top: 12px; padding: 0 16px; font-size: 14px; }
.lr-page:where(:not(.lr-landing-page)) .lr-compare-cta:not(.lr-button-primary) { border: 1px solid #dcdce4; background: #fff; color: var(--lr-ink) !important; }
.lr-page:where(:not(.lr-landing-page)) .lr-compare-cta:not(.lr-button-primary):hover { border-color: #c4c4ce; background: #f7f7fa; }
:where(body:not(.lr-landing-page)) .lr-compare-table tbody th { color: #34343c; font-weight: 400; }
:where(body:not(.lr-landing-page)) .lr-compare-table td { width: 22%; color: var(--lr-ink); }
:where(body:not(.lr-landing-page)) .lr-compare-table th[scope="row"], :where(body:not(.lr-landing-page)) .lr-compare-table thead th:first-child { width: 34%; }
:where(body:not(.lr-landing-page)) .lr-compare-table .lr-compare-pro { background: rgba(68, 58, 184, .028); }
:where(body:not(.lr-landing-page)) .lr-compare-group th { padding-top: 30px; padding-bottom: 10px; border-bottom-color: #e6e6ec; color: #6b6b75; font: 500 11.5px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
:where(body:not(.lr-landing-page)) .lr-compare-table tbody:first-of-type .lr-compare-group th { padding-top: 22px; }
:where(body:not(.lr-landing-page)) .lr-compare-yes { width: 17px; height: 17px; color: #34343c; stroke-width: 2.2; }
:where(body:not(.lr-landing-page)) .lr-compare-pro .lr-compare-yes { color: var(--lr-accent); }
:where(body:not(.lr-landing-page)) .lr-compare-no { color: #b4b4bd; }
:where(body:not(.lr-landing-page)) .lr-compare-note { margin-top: 16px; color: #6b6b75; font-size: 13px; }
.lr-weekly { margin-top: 32px;  display: flex;  flex-wrap: wrap;  align-items: center;  gap: 8px;  padding-top: 24px;  border-top: 1px solid #e3e3e7;  color: #6b6b75;  font-size: 14px; }
.lr-weekly-all { flex: none; margin-bottom: 0; font-size: 14px;  min-height: 44px; }
:where(.lr-landing-page) .lr-button-sm { min-height: 32px; padding: 0 14px; font-size: 14px; }

/* FAQ: the heading on one line with "Talk to us", then the questions in two columns. */
.lr-faq { padding: 24px 0 var(--lr-space-section); }
.lr-faq-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
:where(body:not(.lr-landing-page)) .lr-faq-head .lr-h2 span { color: #6b6b78; }
:where(body:not(.lr-landing-page)) .lr-faq-talk { flex: none; margin-bottom: 6px; color: #6b6b75; font-size: 17px; }
.lr-page:where(:not(.lr-landing-page)) .lr-faq-talk .lr-text-link { display: inline-flex; font-size: 17px; }
:where(.lr-landing-page) .lr-faq-head .lr-h2 span { color: #6b6b75; }
:where(.lr-landing-page) .lr-faq-talk { flex: none; margin-bottom: 6px; color: #6b6b75; font-size: 16px; }
.lr-page:where(.lr-landing-page) .lr-faq-talk .lr-text-link { display: inline-flex; font-size: 16px; }
.lr-faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; align-items: start; margin-top: 36px; }
.lr-faq-list { border-top: 1px solid #e6e6ec; }
.lr-faq-item { border-bottom: 1px solid #e6e6ec; }
.lr-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 2px; color: var(--lr-ink); font-size: 16px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.lr-faq-item summary::-webkit-details-marker { display: none; }
.lr-faq-item summary:hover { color: var(--lr-accent); }
.lr-faq-sign { color: #6b6b75; }
.lr-faq-item summary:hover .lr-faq-sign, .lr-faq-item[open] .lr-faq-sign { color: var(--lr-accent); }
.lr-faq-sign .lr-icon { width: 16px; height: 16px; stroke-width: 1.8; }
.lr-faq-item .lr-faq-minus, .lr-faq-item[open] .lr-faq-plus { display: none; }
.lr-faq-item[open] .lr-faq-minus { display: block; }
:where(body:not(.lr-landing-page)) .lr-faq-item p { margin-top: -4px; padding: 0 40px 18px 2px; color: #6b6b75; font-size: 15px; line-height: 1.6; }
:where(.lr-landing-page) .lr-faq-item p { margin-top: -4px; padding: 0 40px 18px 2px; color: #6b6b75; font-size: 14px; line-height: 1.6; }
.lr-faq-item p .lr-text-link { display: inline; white-space: nowrap; }


/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
    /* Two rows of four (four of two on a phone) on shared columns; the rest of the catalogue is a line under them, not a ninth
       mark alone on its row. */
    .lr-sources-row { display: grid; grid-template-columns: repeat(4, max-content); justify-content: center; gap: 24px clamp(24px, 4vw, 48px); padding-inline: 0; }
    .lr-sources-row .lr-sources-more { grid-column: 1 / -1; justify-self: center; }
    .lr-sources-more a { color: var(--lr-muted); font-size: 14px; letter-spacing: 0; }
    .lr-sources-more span { display: inline; }
    .lr-sources-proof { margin-top: 12px; }
}
@media (max-width: 1280px) {
    .lr-bento-sources, .lr-bento-voice { grid-template-columns: 1fr; grid-template-rows: none; }
    .lr-x-grid, .lr-bcard-rules { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
    .lr-bento-day, .lr-bento-prop { grid-template-columns: minmax(0, 1fr); }
    .lr-x-share { margin-left: 0; }
    .lr-x-share-copy { order: 5; }
    /* Setups keeps its desktop layout and runs off the card on narrow screens. */
    /* Setups inside the card: the name, its trades, its average and its net; the rest is a wider screen's. */
    .lr-bcard-conn { grid-row: auto; }
}@media (max-width: 1280px) { :where(body:not(.lr-landing-page)) :nth-child(5), :where(body:not(.lr-landing-page)) :nth-child(6), :where(body:not(.lr-landing-page)) :nth-child(8)), :nth-child(5), :nth-child(6), :nth-child(8)) { display: none; } }


@media (max-width: 1100px) {
    .lr-faq-cols { grid-template-columns: minmax(0, 1fr); }
    .lr-faq-cols .lr-faq-list + .lr-faq-list { border-top: 0; }
    .lr-faq-head { flex-direction: column; align-items: flex-start; }
    .lr-reviews-track { grid-auto-columns: calc((100% + var(--lr-rv-edge) - var(--lr-rv-gap)) / 1.6); }
    .lr-product-frame { grid-template-columns: 200px minmax(0, 1fr); }
    .lr-steps { grid-template-columns: 1fr; gap: 10px; }
    .lr-step-arrow { transform: rotate(90deg); height: 28px; }
    .lr-index a { padding-left: 26px; font-size: 16px; }
}@media (max-width: 1100px) { :where(body:not(.lr-landing-page)) .lr-plans { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; max-width: 620px; border-bottom: 0; } }
@media (max-width: 1100px) { :where(body:not(.lr-landing-page)) .lr-plan { display: flex; flex-direction: column; grid-row: auto; border-right: 1px solid var(--lr-plan-line); border-bottom: 1px solid var(--lr-plan-line); } }
@media (max-width: 1100px) { :where(body:not(.lr-landing-page)) .lr-plan-specs { margin-bottom: -34px; } }
@media (max-width: 1100px) { :where(body:not(.lr-landing-page)) .lr-plans::before, :where(body:not(.lr-landing-page)) .lr-plans::after { display: none; } }


@media (max-width: 900px) {

    /* The index becomes a horizontal chip row under the nav. */
    .lr-product-frame { display: block; border: 0; }
    .lr-index { z-index: 20; top: var(--lr-nav-h); margin: 0 calc(-1 * var(--lr-gutter)); padding: 10px var(--lr-gutter); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--lr-line); overflow-x: auto; scrollbar-width: none; }
    .lr-index::-webkit-scrollbar { display: none; }
    .lr-index ol { flex-direction: row; gap: 8px; width: max-content; }
    .lr-index a { padding: 7px 14px; border: 1px solid var(--lr-line); border-radius: 999px; font-size: 14px; white-space: nowrap; }
    .lr-index a::before { display: none; }
    .lr-index a[aria-current="true"] { border-color: var(--lr-accent-line); background: var(--lr-accent-soft); color: var(--lr-accent); }
    .lr-chapters { border: 0; }
    .lr-chapter, .lr-product .lr-anchor { scroll-margin-top: calc(var(--lr-nav-h) + 64px); }
    .lr-lead { padding: 36px 0 24px; }
    .lr-stage { margin: 0 calc(-1 * var(--lr-gutter)); padding: 18px var(--lr-gutter) 26px; }
}

@media (max-width: 900px) {
    /* On a phone the hero keeps the whole window, scaled to the column; the note is left out. */
    .lr-hero-window > .lr-hand, .lr-hero-window > .lr-hand-arrow { display: none; }
    .lr-hero-stage { margin-top: 16px; } /* the note's room goes with it, and the tilt lowers the window's top by itself (Igor 24 Nov «над мокапом дырка на мобилах») */
    .lr-shot-frame { padding: 5px; border-radius: 14px 14px 0 0; }
    .lr-j { border-radius: 10px 10px 0 0; }
}

@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-plan { --pad: 20px; padding: 26px var(--pad) 28px; } }
@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-plan-specs { margin-bottom: -28px; } }
@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-plan-price b { font-size: 46px; } }
@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-compare-table, :where(body:not(.lr-landing-page)) .lr-compare-table thead, :where(body:not(.lr-landing-page)) .lr-compare-table tbody { display: block; font-size: 14px; } }
@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-compare-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-compare-table thead th { position: static; padding: 14px 10px; } }
@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-compare-table thead th:first-child { grid-column: 1 / -1; padding: 0 0 14px; border-top: 0; } }
@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-compare-table th[scope="row"], :where(body:not(.lr-landing-page)) .lr-compare-table thead th:first-child, :where(body:not(.lr-landing-page)) .lr-compare-table td { width: auto; } }
@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-compare-table th[scope="row"] { grid-column: 1 / -1; padding: 12px 0 4px; border-bottom: 0; } }
@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-compare-table td { padding: 2px 10px 12px; } }
@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-compare-group th { grid-column: 1 / -1; padding: 26px 0 10px; } }
@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-compare-title { font-size: 22px; } }
@media (max-width: 760px) { :where(body:not(.lr-landing-page)) .lr-compare-plan { font-size: 16px; } }
@media (max-width: 760px) { .lr-page:where(:not(.lr-landing-page)) .lr-compare-cta { padding: 0 12px; font-size: 13.5px; } }
@media (max-width: 760px) {
    .lr-reviews-track { grid-auto-columns: calc(100% - 28px); --lr-rv-gap: 12px; }
    .lr-tiles { justify-content: flex-start; gap: 14px; }
    .lr-tile { min-width: 96px; height: 84px; border-radius: 12px;  background: #29292f;  border-color: #41414a; }
    .lr-dark-copy br { display: none; }

    .lr-sources-inner { padding: 28px 0; }
    .lr-sources-row { grid-template-columns: repeat(2, max-content); gap: 22px clamp(12px, 8vw, 32px); }
    .lr-sources-row li { gap: 8px; font-size: clamp(15px, 4.4vw, 17px); }
    .lr-mark { height: 24px; }
    .lr-sources-proof { margin-top: 12px; font-size: 14px; }

    .lr-step-card { padding: 16px; }
    .lr-record { padding-top: 22px; }
    .lr-transcript p { font-size: 16px; }

}

@media (max-width: 560px) {
    .lr-link .lr-h2-wide span { display: block; }
    .lr-rules-total { flex-wrap: wrap; gap: 8px 12px; }
    .lr-rules-total b { font-size: 24px; }
    .lr-td-steps { gap: 14px; font-size: 14px; }
    .lr-td-focus { flex-wrap: wrap; gap: 8px 18px; }
    .lr-td-focus-note { padding-left: 0; border-left: 0; flex-basis: 100%; order: 3; }
    .lr-pa-head { flex-wrap: wrap; }
    .lr-pa-head > span:nth-child(2) { flex-basis: calc(100% - 52px); }
    .lr-pa-figures { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
    .lr-pa-figures > div { padding: 0; }
    .lr-pa-figures > div + div { padding-top: 14px; border-top: 1px solid #ececf0; border-left: 0; }
    .lr-pa-stand-head { flex-direction: column; gap: 2px; }
    .lr-review-filled { order: -1; }
    .lr-review-stars { gap: 8px; }
    .lr-review-stars .lr-icon { width: 24px; height: 24px; }
    .lr-review-stars em { white-space: nowrap; font-size: 16px; }
    .lr-review-choices { gap: 6px; }
    .lr-review-choices span { font-size: 12px; white-space: nowrap; }
    .lr-synced-name small { white-space: nowrap; }
    .lr-app-wave i:nth-child(n+34) { display: none; }
    .lr-note-voice .lr-wave { gap: 2px; }
    .lr-note-voice .lr-wave i { width: 2px; }
}

@media (max-width: 420px) {
    .lr-button-lg { padding: 0 30px; }
    .lr-hero-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; }
    .lr-hero-actions .lr-button-outline, .lr-hero-actions .lr-button-primary:not(:has(+ .lr-hero-google)) { grid-column: 1 / -1; }
    .lr-br-wide { display: none; }
}


@media (prefers-reduced-motion: reduce) {
    .lr-page *, .lr-page *::before, .lr-page *::after { transition-duration: 0s !important; animation: none !important; }
}

/* ── What's working, 18 Nov: Trading X-ray as it opens today, on the demo trader (index.php, lib/LandingDemoTrader.php).
   One-to-one with the app's X-ray first screen: the answer line, the rule tabs, the quarters, as traded against without
   the rule (the gap shaded), each week's result, and the ranked rules under it. App palette: green #449a6b, red #c4342d. */
.lr-film-zero { stroke: #dcdce4; stroke-width: 1; }
/* Every other trade one quiet grey, only the rule's trades in colour (Igor 26 Nov «немного шумно» → «A, ставь»). */
.lr-sq.is-win, .lr-sq.is-loss { fill: #ebebef; }
.lr-sq.is-win.is-lit { fill: #449a6b; }
.lr-sq.is-loss.is-lit { fill: #c4342d; }
/* What you do well: X-ray's idea sheets on the stage; the trader's own words beside them, priced. */
.lr-bento-well { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); margin-top: 32px; }
.lr-bstage.lr-ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 28px; }
.lr-idea { position: relative; z-index: 0; display: flex; flex-direction: column; min-width: 0; padding: 16px; color: #6b6b75; font-size: 12px; line-height: 16px; filter: drop-shadow(0 0 .6px rgb(20 16 60 / .4)) drop-shadow(0 12px 18px rgb(20 14 70 / .08)); }
.lr-idea::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: 6px; background: #fff; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.lr-idea::after { content: ''; position: absolute; top: 0; right: 0; width: 24px; height: 24px; border-bottom-left-radius: 6px; background: #d9d8e4; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.lr-idea small { font-size: 12px; line-height: 16px; }
.lr-idea-top { display: flex; justify-content: space-between; gap: 8px; padding-right: 20px; }
.lr-idea-top em { color: var(--lr-accent); font-style: normal; font-weight: 500; }
.lr-idea-name { margin-top: 8px; color: #1d1d22; font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: -0.01em; text-wrap: balance; }
.lr-idea-sum { margin-top: 2px; font-size: 24px; font-weight: 600; line-height: 32px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lr-idea-fact { margin-top: 2px; white-space: nowrap; }
.lr-idea-months { position: relative; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 4px; flex: 1; min-height: 56px; margin-top: 12px; }
.lr-idea-months::before { content: ''; position: absolute; left: 0; right: 0; top: var(--zero); border-top: 1px solid #dcdce4; }
.lr-idea-months i { position: relative; border-radius: 2px; background: #f5f5f8; }
.lr-idea-months i::after { content: ''; position: absolute; left: 0; right: 0; height: var(--h); }
.lr-idea-months .is-up::after { bottom: calc(100% - var(--zero)); border-radius: 2px 2px 0 0; background: #449a6b; transform-origin: 50% 100%; }
.lr-idea-months .is-down::after { top: var(--zero); border-radius: 0 0 2px 2px; background: #c4342d; transform-origin: 50% 0; }
.lr-idea-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; white-space: nowrap; }
.lr-words { display: flex; flex-direction: column; }
.lr-words-quote { margin-top: 4px; color: #1d1d22; font-size: 20px; font-weight: 500; line-height: 28px; letter-spacing: -0.015em; text-wrap: balance; }
.lr-words-bars { display: grid; gap: 10px; margin-top: auto; padding-top: 14px; }
.lr-words-bars > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; row-gap: 6px; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-words-bars small { font-size: 14px; }
.lr-words-bars b { grid-column: 2; grid-row: 1; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lr-words-bars b small { color: #6b6b75; font-weight: 400; }
.lr-words-bars i { grid-column: 1 / -1; width: var(--w); height: 8px; border-radius: 3px; transform-origin: 0 50%; }
.lr-words-bars i.is-loss { background: #c4342d; }
.lr-words-bars i.is-gain { background: #449a6b; }
.lr-words-sum { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; padding-top: 10px; border-top: 1px solid #ececf0; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-words-sum b { font-size: 24px; font-weight: 600; line-height: 32px; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.lr-words-sum small { font-size: 14px; }
@media (max-width: 1360px) {
    /* two sheets beside the words, then one under the other */
    .lr-bento-well { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
    .lr-bstage.lr-ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lr-idea:nth-child(n+3) { display: none; }
}
@media (max-width: 900px) {
    .lr-bento-well { grid-template-columns: minmax(0, 1fr); }
    .lr-bstage.lr-ideas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lr-idea:nth-child(n+3) { display: flex; }
}
/* A phone: a row of pictures is swiped, not stacked (Igor 25 Nov «только не делай их гигантскими портянками»). */
@media (max-width: 760px) {
    .lr-pv-row.lr-pv-row { display: flex; gap: 12px; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .lr-pv-row::-webkit-scrollbar { display: none; }
    .lr-pv-row.lr-pv-row { gap: 0; margin: 0; padding: 0; }
    .lr-pv-col.lr-pv-col { flex: 0 0 78%; border-top: 0; border-right: 1px solid #ececf0; scroll-snap-align: start; }
    .lr-pv-col:last-child { border-right: 0; }
}
@media (max-width: 760px) {
    .lr-bstage.lr-ideas { display: flex; gap: 12px; padding: 18px var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .lr-ideas::-webkit-scrollbar { display: none; }
    .lr-idea { flex: 0 0 78%; scroll-snap-align: center; }
    .lr-idea-name { min-height: 0; }
}


/* The hero's Journal on the demo trader (18 Nov): the review line ends on "Continue review" as the app's does, the
   commission line under the average, and the review panel's lesson when the trade carries no star rating. */
.lr-j-continue { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: #1d1d22; font-weight: 500; }
.lr-j-continue .lr-icon { width: 15px; height: 15px; }
.lr-j-review .lr-j-pct { margin-left: 0; }
.lr-app-lesson { display: block; padding: 8px 12px; border: 1px solid #e3e3ea; border-radius: 6px; color: #1d1d22; font-size: 14px; line-height: 1.4; }

/* ── Prop, 18 Nov: Prop Manager's face on the demo trader (attempts as versions, one-to-one with .ui-versions). ── */
.lr-bento-prop { grid-template-columns: minmax(0, 1fr); }
.lr-bcard-versions { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; }
.lr-bcard .lr-pv { padding: 0; overflow: hidden; }
.lr-pv-row { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.lr-pv-col { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 20px var(--pad) 24px; border-right: 1px solid #ececf0; }
.lr-pv-col:last-child { border-right: 0; }
.lr-pv-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lr-pv-n { color: #6b6b75; font-size: 14px; font-weight: 500; line-height: 24px; font-variant-numeric: tabular-nums; }
.lr-pv-chip { padding: 0 8px; border-radius: 6px; background: #f0f0f4; color: #1d1d22; font-size: 12px; font-weight: 500; line-height: 24px; white-space: nowrap; }
.lr-pv-chip.is-loss { background: #efeff2; color: #1d1d22; }
.lr-pv-chip.is-gain { background: #ecebf5; color: var(--lr-accent); }
.lr-pv-chip.is-accent { background: var(--lr-accent-soft); color: var(--lr-accent); }
.lr-pv-name { margin-top: 8px; color: #1d1d22; font-size: 16px; font-weight: 600; line-height: 22px; }
.lr-pv-dates { color: #6b6b75; font-size: 12px; line-height: 18px; white-space: nowrap; }
.lr-pv-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: 16px; font-size: 32px; font-weight: 600; line-height: 40px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lr-pv-result.is-gain { color: #449a6b; }
.lr-pv-result.is-loss { color: #c4342d; }
.lr-pv-result small { color: #6b6b75; font-size: 16px; font-weight: 400; letter-spacing: 0; }
.lr-pv-chart { position: relative; display: block; height: 76px; margin: auto 4px 0 0; }
.lr-pv-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lr-pv-equity { fill: none; stroke: #449a6b; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lr-pv-area { fill: #449a6b; fill-opacity: .1; }
.lr-pv-chart.is-breached .lr-pv-equity { stroke: #c4342d; }
.lr-pv-chart.is-breached .lr-pv-area { fill: #c4342d; }
.lr-pv-target { stroke: #449a6b; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.lr-pv-floor { fill: none; stroke: #c4342d; stroke-opacity: .55; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.lr-pv-chart em { position: absolute; left: 0; margin-top: -17px; font-size: 12px; font-style: normal; line-height: 16px; }
.lr-pv-chart em.is-under { margin-top: 2px; }
.lr-pv-chart i { position: absolute; right: -4px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #449a6b; box-shadow: 0 0 0 1.5px #fff; }
.lr-pv-chart.is-breached i { background: #c4342d; }
.lr-pv-note { margin: 12px 0 30px; color: #1d1d22; font-size: 14px; line-height: 22px; text-wrap: pretty; }
.lr-pv-foot { align-self: flex-end; margin-top: 0; color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-pv-line .lr-icon, .lr-pv-track .lr-icon { width: 16px; height: 16px; flex: none; }
.lr-pv-track { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px var(--pad); border-top: 1px solid #ececf0; background: #f3f2fd; }
.lr-pv-track > span:first-child { display: flex; align-items: center; gap: 8px; color: #1d1d22; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.lr-pv-line { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--lr-accent); font-size: 14px; font-weight: 500; line-height: 20px; }
.lr-pv-line em { flex: none; font-style: normal; white-space: nowrap; }
@media (max-width: 900px) {
    .lr-pv-col { padding-inline: 20px; }
    .lr-pv-col:first-child { padding-left: var(--pad); }
    .lr-pv-col:last-child { padding-right: var(--pad); }
}
@media (min-width: 701px) and (max-width: 1100px) {
    .lr-pv-result { flex-direction: column; }
}
@media (max-width: 700px) {
    .lr-pv-col.lr-pv-col { padding-inline: var(--pad); }
    .lr-pv-track { flex-direction: column; align-items: flex-start; gap: 8px; }
    .lr-pv-line { font-size: 12px; }
}

/* ── The YouTube strategy test, 18 Nov: the gallery's paste field, its faces and verdicts, its count (/strategies owns
   every figure; includes/public-strategies-view.php). Light, on the landing's own ground: no dark band behind it. ── */

/* Say why on a demo trade (18 Nov): the note under the voice organiser's headings, and the review's filled fields. */
.lr-editor-body b { display: block; margin-top: 12px; color: #1d1d22; font-size: 16px; font-weight: 600; line-height: 24px; }
.lr-editor-body b:first-child { margin-top: 0; }
.lr-editor-body > span { display: block; color: #1d1d22; font-size: 16px; line-height: 24px; }
.lr-review-field { display: block; margin-top: 8px; padding: 9px 12px; border: 1px solid #dcdce2; border-radius: 6px; color: #1d1d22; font-size: 14px; line-height: 20px; }

@media (max-width: 560px) { .lr-td-row { grid-template-columns: 28px minmax(0, 1fr); } }
@media (max-width: 900px) {
    .lr-pv-line { flex-wrap: wrap; gap: 4px 6px; }
}


/* "Found it online?" on its real worked example (18 Nov, Igor through the coordinator: keep the chain, true figures):
   the video's own thumbnail in the frame, each rule with the minute it was heard, TSB's own choice marked. */

/* Replay before you pay, on Prop Manager's Choose a challenge (18 Nov): the starts at each size on the left, the plan's
   answer and the facts on the right; one row under the attempts. */

/* Fresh-eyes fixes, 18 Nov. */
.lr-synced-trades small { white-space: nowrap; }
.lr-wk-text p, .lr-pv-note, .lr-review blockquote { text-wrap: pretty; }
@media (max-width: 560px) {
    .lr-synced-trades li { grid-template-columns: 36px 60px minmax(0, 1fr) auto; gap: 8px; }
}

/* ---------- The mockups play once, on the reader's eye (24 Nov; 25 Nov «когда анимаций много и они долго тянутся то много
   пустого на экране») ---------- */
/* Nothing is hidden while a picture waits or plays: every word, figure and line stands from the first frame; what plays only
   lights it, and is over within a second. Transitions live on .is-in only: arming is instant, playing is not. */
@media (prefers-reduced-motion: no-preference) {
    .lr-say-w { font-style: normal; }
    .is-armed .lr-say-w { opacity: .34; }
    .is-armed.is-in .lr-say-w { opacity: 1; transition: opacity 0.12s var(--lr-ease) var(--d, 0ms); }
    .lr-bcard-notes.is-armed .lr-wave i:nth-child(-n+33) { background: color-mix(in srgb, var(--lr-accent) 26%, white); }
    .lr-bcard-notes.is-armed.is-in .lr-wave i:nth-child(-n+33) { background: var(--lr-accent); transition: background-color 0.08s linear var(--d, 0ms); }
    .lr-bcard-notes.is-in:not(.is-played) .lr-note-rec { animation: lr-rec-blink 0.55s ease-in-out infinite; }
    .lr-bcard-review.is-armed .lr-review-chip { background: #f4f4f7; color: #6b6b75; }
    .lr-bcard-review.is-armed.is-in .lr-review-chip { background: #ececfa; color: var(--lr-accent); transition: background-color 0.16s linear, color 0.16s linear; }
    .lr-bcard-review.is-armed .lr-review-stars .is-on .lr-icon { color: #d9d9de; fill: #d9d9de; }
    .lr-bcard-review.is-armed.is-in .lr-review-stars .is-on .lr-icon { color: var(--lr-accent); fill: var(--lr-accent); transition: color 0.1s linear var(--d, 0ms), fill 0.1s linear var(--d, 0ms); }
    .lr-bcard-review.is-armed .lr-review-choices .is-on { border-color: #dcdce2; background: #fff; color: #1d1d22; }
    .lr-bcard-review.is-armed.is-in .lr-review-choices .is-on { border-color: #d9d6f7; background: #ececfa; color: var(--lr-accent); transition: background-color 0.14s linear 0.3s, color 0.14s linear 0.3s, border-color 0.14s linear 0.3s; }
    .lr-bcard-review.is-armed .lr-review-filled { background: #ececfa; color: var(--lr-accent); }
    .lr-bcard-review.is-filled .lr-review-filled { background: var(--lr-accent); color: #fff; transition: background-color .2s linear, color .2s linear; }
    .lr-bcard-review.is-armed .lr-review-done { display: none; }
    .lr-bcard-review.is-armed.is-filled .lr-review-done { display: block; animation: lr-pop .3s var(--lr-ease); }
    .lr-review-filled .lr-icon path { transform-box: fill-box; transform-origin: 50% 50%; }
    .lr-bcard-review.is-listening:not(.is-filled) .lr-review-filled > .lr-icon:first-child path { animation: lr-eq .7s ease-in-out infinite alternate; }
    .lr-bcard-review.is-listening .lr-review-filled > .lr-icon:first-child path:nth-child(2n) { animation-delay: -.25s !important; animation-duration: .5s !important; }
    .lr-bcard-review.is-listening .lr-review-filled > .lr-icon:first-child path:nth-child(3n) { animation-delay: -.45s !important; animation-duration: .85s !important; }
    /* Trades come in: the sources go green row by row, the trades arrive */
    .lr-conn.is-armed .lr-conn-auto { color: #8a8a94; }
    .lr-conn.is-armed.is-in .lr-conn-auto { color: var(--lr-accent); transition: color 0.16s linear calc(var(--i) * 70ms + 60ms); }
    .lr-bcard-synced.is-armed .lr-synced-name i { background: #c9c9d2; }
    .lr-bcard-synced.is-armed.is-in .lr-synced-name i { background: var(--lr-accent); transition: background-color 0.11s linear 0.2s; }
    /* Checked: the rows run into their trades, Chicago's time turns to New York's, the yes is given; what is new lands; the fees are cut off */
    .lr-flow.is-armed .lr-flow-mid path { opacity: .28; }
    .lr-flow.is-armed.is-in .lr-flow-mid path { opacity: .78; transition: opacity .3s linear calc(var(--i) * 70ms); }
    .lr-flow.is-armed.is-in .lr-flow-mid path.is-lit { opacity: .95; }
    .lr-flow-trade u.is-turned { animation: lr-turned 0.6s linear; }
    .lr-flow.is-armed.is-in .lr-hand-cursor { display: block; right: 14px; bottom: 2px; animation: lr-cursor .8s var(--lr-ease) .25s both; }
    .lr-flow.is-armed.is-in .lr-confirm-go { animation: lr-press 0.2s ease-out .62s; }
    .lr-again.is-armed .lr-again-trades :is(.is-win, .is-loss) { opacity: .35; }
    .lr-again.is-armed.is-in .lr-again-trades :is(.is-win, .is-loss) { opacity: 1; transition: opacity .2s linear calc(var(--i) * 14ms); }
    .lr-confirm-go { transition: background-color .2s linear; }
    [data-lr-scene="fees"].is-armed .lr-cut-bar i:last-child { width: 0; margin-left: -2px; }
    [data-lr-scene="fees"].is-armed.is-in .lr-cut-bar i:last-child { width: max(10px, var(--fee)); margin-left: 0; transition: width .4s var(--lr-ease) .2s, margin-left .4s var(--lr-ease) .2s; }
    .lr-one.is-armed .lr-film rect.is-lit.is-win { fill: #d9ebe0; }
    .lr-one.is-armed .lr-film rect.is-lit.is-loss { fill: #f5dbd9; }
    .lr-one.is-armed .lr-one-said mark { background: #fbe1de00; }
    .lr-one.is-armed.is-in .lr-one-said mark { background: #fbe1de; transition: background-color .3s linear .45s; }
    .lr-one.is-armed .lr-one-chip .lr-wave i { opacity: .45; }
    .lr-one.is-armed.is-in .lr-one-chip .lr-wave i { opacity: 1; transition: opacity .1s linear var(--d, 0ms); }
    .lr-one.is-armed.is-in .lr-film rect.is-lit.is-win { fill: #449a6b; transition: fill .12s linear calc(var(--d, 0ms) + .4s); }
    .lr-one.is-armed.is-in .lr-film rect.is-lit.is-loss { fill: #c4342d; transition: fill .12s linear calc(var(--d, 0ms) + .4s); }
    .lr-bcard-well.is-armed .lr-idea-months i::after { transform: scaleY(.35); }
    .lr-bcard-well.is-armed.is-in .lr-idea-months i::after { transform: none; transition: transform .3s var(--lr-ease) var(--d, 0ms); }
    .lr-bcard-words.is-armed .lr-words-bars i { transform: scaleX(.35); }
    .lr-bcard-words.is-armed.is-in .lr-words-bars i { transform: none; transition: transform .5s var(--lr-ease); }
    /* Every session: the now line walks the day */
    .lr-bcard-day.is-armed .lr-dayb-now { left: 0 !important; }
    .lr-bcard-day.is-armed.is-in .lr-dayb-now { left: var(--now) !important; transition: left 1s linear .1s; }
    .lr-bcard-day.is-armed :is(.lr-dayb-hatch, .lr-dayb-row.is-plan b, .lr-dayb-news) { opacity: .45; }
    .lr-bcard-day.is-armed.is-in :is(.lr-dayb-hatch, .lr-dayb-row.is-plan b, .lr-dayb-news) { opacity: 1; transition: opacity 0.16s linear var(--d, 0ms); }
    .lr-bcard-setups.is-armed .lr-home-pin { transform: translate(-50%, -50%) scale(.7); }
    .lr-bcard-setups.is-armed.is-in .lr-home-pin { transform: translate(-50%, -50%); transition: transform .3s cubic-bezier(.3, 1.6, .6, 1) calc(.15s + var(--d, 0ms)); }
    .lr-bcard-bridge.is-armed .lr-nb-mid path { stroke: #dcd9f5; }
    .lr-bcard-bridge.is-armed.is-in .lr-nb-mid path { stroke: #a9a2e6; transition: stroke .3s linear calc(var(--i) * 120ms + 100ms); }
    .lr-bcard-notion.is-armed .lr-nw-slots .is-used { background: #f7f7f9; }
    .lr-bcard-notion.is-armed.is-in .lr-nw-slots .is-used { background: #6b6b75; transition: background-color .3s linear .3s; }
    .lr-bcard-setups.is-armed .lr-home-list i { transform: scaleX(.5); transform-origin: 0 50%; }
    .lr-bcard-setups.is-armed.is-in .lr-home-list i { transform: none; transition: transform .4s var(--lr-ease) .1s; }
    .lr-bcard-replay.is-armed .lr-mx .is-pass { background: #f3f9f5; }
    .lr-bcard-replay.is-armed.is-in .lr-mx .is-pass { background: #e4f1e9; transition: background-color .25s linear var(--d, 0ms); }
    .lr-bcard-loop.is-armed .lr-loop-head i.is-kept { transform: scale(.86); }
    .lr-bcard-loop.is-armed .lr-loop-cal .is-kept.is-today { background: #ecebf5; color: var(--lr-accent); }
    .lr-bcard-loop.is-armed.is-in .lr-loop-head i.is-kept { transform: none; transition: transform .3s cubic-bezier(.3, 1.5, .6, 1) .25s; }
    .lr-bcard-loop.is-armed.is-in .lr-loop-cal .is-kept.is-today { background: var(--lr-accent); color: #fff; transition: background-color .25s linear .5s, color .25s linear .5s; }
    /* Prop: the starts fill */
}
@keyframes lr-rec-blink { 50% { opacity: .35; } }
.lr-hand-cursor { display: none; position: absolute; width: 22px; height: 22px; pointer-events: none; }
.lr-hand-cursor svg { display: block; width: 100%; height: 100%; fill: #1d1d22; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgb(20 16 60 / .28)); }
.lr-confirm { position: relative; }
@keyframes lr-eq { from { transform: scaleY(.35); } to { transform: scaleY(1.1); } }
@keyframes lr-pop { from { transform: scale(0); } 60% { transform: scale(1.2); } }
@keyframes lr-turned { 0%, 40% { color: var(--lr-accent); } }
@keyframes lr-press { 40% { transform: scale(.96); filter: brightness(.9); } }
@keyframes lr-cursor { 0% { opacity: 0; transform: translate(46px, 40px); } 25% { opacity: 1; } 55%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }

/* Setups as its Shelf opens today: the answer, the paper folders, one setup of each group on its picture. */
/* on the same three columns as the setups under them */

/* Trading Day's board: the sessions, the rule on the hours, the day's news (the first relaunch letter's day, Igor 24 Nov
   «у нас в письме первого дня была прикольная штука»). */
.lr-dayb { margin-top: 20px; }
.lr-dayb-hours { position: relative; display: block; height: 24px; }
.lr-dayb-hours em { position: absolute; color: #6b6b75; font-size: 12px; font-style: normal; line-height: 20px; font-variant-numeric: tabular-nums; transform: translateX(-50%); }
.lr-dayb-rows { position: relative; display: flex; flex: 1; flex-direction: column; border-top: 1px solid #e6e6ec; }
.lr-dayb-grid { position: absolute; top: 0; bottom: 0; width: 1px; background: #f0f0f4; }
.lr-dayb-row { position: relative; display: block; border-bottom: 1px solid #ececf0; }
.lr-dayb-row.is-markets { height: 72px; overflow: hidden; }
.lr-dayb-bar { position: absolute; top: calc(8px + var(--l) * 28px); overflow: hidden; height: 24px; padding: 0 8px; border-radius: 4px; background: #f4f4f7; color: #6b6b75; font-size: 12px; line-height: 24px; white-space: nowrap; }
.lr-dayb-bar.is-main { background: #e9e9ef; color: #1d1d22; }
.lr-dayb-bar.is-from { border-radius: 0 4px 4px 0; }
.lr-dayb-bar.is-on { border-radius: 4px 0 0 4px; }
.lr-dayb-row.is-plan { flex: 1; min-height: 64px; }
.lr-dayb-hatch { position: absolute; top: 8px; bottom: 8px; border: 1px solid #c9c9d0; border-radius: 6px; background: #efeff2; }
.lr-dayb-row.is-plan b { position: absolute; z-index: 1; top: 50%; margin: -10px 8px 0 0; padding: 0 4px; background: #fff; color: #1d1d22; font-size: 14px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.lr-dayb-row.is-news { height: 72px; border-bottom: 0; }
.lr-dayb-news { position: absolute; top: 12px; display: grid; grid-template-columns: 14px auto; column-gap: 8px; align-items: center; margin-left: -7px; white-space: nowrap; }
.lr-dayb-news i { width: 11px; height: 11px; margin-left: 1px; border-radius: 1px; background: #8a6414; transform: rotate(45deg); }
.lr-dayb-news :is(b, small) { position: relative; z-index: 1; justify-self: start; margin-left: -4px; padding: 0 4px; background: #fff; }
.lr-dayb-news b { color: #1d1d22; font-size: 14px; font-weight: 600; line-height: 20px; }
.lr-dayb-news small { grid-column: 2; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-dayb-news em { color: #449a6b; font-style: normal; font-weight: 600; }
.lr-dayb-news.is-end { z-index: 1; grid-template-columns: auto 14px; margin-left: 0; transform: translateX(calc(-100% + 7px)); }
.lr-dayb-news.is-end i { order: 2; }
.lr-dayb-news.is-end :is(b, small) { grid-column: 1; grid-row: 1; justify-self: end; margin: 0 -4px 0 0; }
.lr-dayb-news.is-end small { grid-row: 2; }
.lr-dayb-news.is-end i { grid-column: 2; grid-row: 1; }
/* the line stops at the news: it never runs through a release's name */
.lr-dayb-now { position: absolute; top: -24px; bottom: 72px; width: 0; border-left: 1.5px dashed var(--lr-accent); }
.lr-dayb-now em { position: absolute; left: 0; top: 0; padding: 0 8px; border-radius: 6px; background: var(--lr-accent); color: #fff; font-size: 12px; font-style: normal; font-weight: 600; line-height: 20px; font-variant-numeric: tabular-nums; transform: translateX(-50%); }
.lr-dayb-foot small { display: block; font-size: 12px; line-height: 16px; }
.lr-dayb-foot { margin-top: 8px; color: #6b6b75; font-size: 14px; line-height: 20px; }
@media (min-width: 561px) and (max-width: 1280px) {
    .lr-note-voice .lr-wave { justify-content: space-between; }
    .lr-note-voice .lr-wave i { width: 4px; }
}
@media (max-width: 1180px) {
    .lr-dayb-row.is-plan b span { display: none; }
}
@media (max-width: 560px) {
    .lr-dayb-bar.is-on { text-align: right; }
    .lr-dayb-row.is-news { height: 120px; }
    .lr-dayb-now { bottom: 120px; }
    .lr-dayb-news { white-space: normal; }
    .lr-dayb-news.is-end { top: 68px; white-space: nowrap; }
    .lr-dayb-hours em { font-size: 12px; }
}

/* Your columns, matched: Get started's Bridge in small. The journal's own columns on threads to the trade's fields. */
.lr-bstage-dots > .lr-bpanel.lr-nb { display: flex; flex-direction: column; gap: 16px; padding: 16px 20px 20px; color: #37352f; font-size: 14px; line-height: 20px; }
.lr-nb-map { display: grid; flex: 1; grid-template-columns: auto minmax(24px, 1fr) minmax(0, max-content); }
.lr-page .lr-nb-top .lr-notion-import { display: none; }
.lr-nb-list { display: grid; grid-template-rows: 32px repeat(7, minmax(48px, 1fr)); min-width: 0; }
.lr-nb-prop { display: flex; align-items: center; align-self: center; gap: 8px; height: 36px; padding: 0 10px; border: 1px solid #e6e6e3; border-radius: 6px; background: #f7f7f5; white-space: nowrap; }
.lr-nb-prop .lr-icon { width: 16px; height: 16px; flex: none; color: #8f8e8a; stroke-width: 1.7; }
.lr-nb-prop.is-kept { border-style: dashed; background: none; color: #6b6b75; }
.lr-nb-mid { position: relative; margin-top: 32px; }
.lr-nb-mid svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lr-nb-mid path { fill: none; stroke: #a9a2e6; stroke-width: 2; vector-effect: non-scaling-stroke; }
.lr-nb-field { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding-left: 10px; border-left: 2px solid var(--lr-accent); align-self: center; height: 40px; white-space: nowrap; }
.lr-nb-field small { color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-nb-field b { overflow: hidden; color: #1d1d22; font-weight: 600; text-overflow: ellipsis; }
.lr-nb-field .is-gain { color: #449a6b; }
.lr-nb-field .is-loss { color: #c4342d; }
.lr-nb-stay { display: flex; align-items: center; white-space: nowrap; grid-row: 6 / span 3; margin: 12px 0; padding-left: 12px; border-left: 1px dashed #c9c9d2; color: #6b6b75; }
.lr-page .lr-nb .lr-notion-import { justify-content: center; margin: 0; }

/* Checked: the broker's rows run into the trades they become (Igor 25 Nov «checked before пока слабая секция» → «Ставь черновик»);
   the same months again double nothing; gross is cut to net. */
.lr-v5-title > i { font-style: normal; white-space: nowrap; }
.lr-bento-checked { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lr-bcard-flow { grid-column: 1 / -1; }
.lr-bstage-dots > .lr-bpanel.lr-flow { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.lr-flow-map, .lr-flow-more { display: grid; grid-template-columns: minmax(0, 1fr) 148px minmax(0, 1fr); padding: 24px 24px 0; }
.lr-flow-more { padding-top: 8px; padding-bottom: 20px; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-flow-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; color: #6b6b75; font-size: 14px; line-height: 24px; }
.lr-flow-cap b { color: #1d1d22; font-size: 16px; font-weight: 500; }
.lr-flow-cap em { font-style: normal; white-space: nowrap; }
.lr-flow-file { overflow: hidden; border: 1px solid #e4e4ea; border-right: 0; border-radius: 6px 0 0 6px; background: #fcfcfd; }
.lr-flow-row { display: grid; box-sizing: border-box; grid-template-columns: 112px 44px 56px 24px minmax(0, 1fr); align-items: center; gap: 8px; height: 28px; padding: 0 16px 0 14px; border-top: 1px solid #f0f0f4; color: #6b6b75; font: 400 12px/16px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; }
.lr-flow-row:first-child { border-top: 0; }
.lr-flow-row > span:nth-child(n+4) { text-align: right; }
.lr-flow :is(.lr-flow-row, .lr-flow-trade) i { font-style: normal; }
.lr-flow u { margin: 0 2px; border-radius: 3px; background: #e3e0fb; box-shadow: 0 0 0 2px #e3e0fb; color: #1d1d22; text-decoration: none; }
.lr-flow-mid { position: relative; }
.lr-flow-mid svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.lr-flow-mid path { opacity: .78; mix-blend-mode: multiply; }
.lr-flow-mid .is-up { fill: #cfe6d8; }
.lr-flow-mid .is-down { fill: #f4d5d1; }
.lr-flow-mid .is-lit { opacity: .95; }
.lr-flow-mid .is-up.is-lit { fill: #86c3a0; }
.lr-flow-mid .is-down.is-lit { fill: #eeb1aa; }
.lr-flow-pill { position: absolute; left: 50%; padding: 0 8px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px #dcdce2; color: var(--lr-accent); font-size: 12px; font-weight: 500; line-height: 24px; white-space: nowrap; transform: translate(-50%, -50%); }
.lr-flow-trades { display: grid; grid-auto-rows: 1fr; height: var(--h); }
.lr-flow-trade { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 104px 96px; align-items: center; gap: 16px; margin: 5px 0; padding: 0 16px 0 18px; border: 1px solid #e4e4ea; border-left: 0; border-radius: 0 6px 6px 0; background: #fff; font-size: 14px; line-height: 20px; }
.lr-flow-trade::before { content: ''; position: absolute; top: -1px; bottom: -1px; left: 0; width: 3px; background: #449a6b; }
.lr-flow-trade.is-loss::before { background: #c4342d; }
.lr-flow-trade b { color: #1d1d22; font-size: 16px; font-weight: 600; }
.lr-flow-trade b + i { margin-left: 8px; padding: 0 6px; border-radius: 4px; background: #f1f1f3; color: #6b6b75; font-size: 12px; font-weight: 500; line-height: 16px; }
.lr-flow-trade b + i.is-short { background: #f1f1f3; color: #6b6b75; }
.lr-flow-trade small { color: #6b6b75; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lr-flow-trade em { color: #449a6b; font-size: 16px; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.lr-flow-trade.is-loss em { color: #c4342d; }
.lr-flow-foot { display: flex; align-items: center; gap: 40px; padding: 16px 24px; border-top: 1px solid #ececf0; background: #fbfbfe; }
.lr-flow-foot > span:not(.lr-confirm) { display: flex; flex-direction: column; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-flow-foot > span:not(.lr-confirm) > b { color: #1d1d22; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -0.02em; }
.lr-flow-foot .lr-confirm { margin-left: auto; }
.lr-flow-foot .lr-confirm-go { justify-content: center; min-width: 184px; }
.lr-bstage-dots > .lr-bpanel.lr-bstage-list.lr-again { gap: 6px; }
.lr-again-line { display: flex; justify-content: space-between; gap: 12px; white-space: nowrap; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-again-line b { color: #1d1d22; font-weight: 600; }
.lr-again-trades { display: grid; grid-template-columns: repeat(22, minmax(0, 1fr)); gap: 4px; margin-bottom: 6px; }
.lr-again-trades i { aspect-ratio: 1; border-radius: 2px; box-shadow: inset 0 0 0 1px #d4d4dc; }
.lr-again-trades .is-win { background: #449a6b; box-shadow: none; }
.lr-again-trades .is-loss { background: #c4342d; box-shadow: none; }
.lr-again-sum { margin-top: auto; padding-top: 12px; border-top: 1px solid #ececf0; }
.lr-flow { container-type: inline-size; }
@container (max-width: 940px) {
    .lr-flow-map, .lr-flow-more { grid-template-columns: minmax(0, 1fr) 124px minmax(0, 1fr); }
    .lr-flow-row { grid-template-columns: minmax(0, 1fr) auto auto 12px 64px; gap: 14px; }
    .lr-flow-row i, .lr-flow-trade small i { display: none; }
    .lr-flow-trade { grid-template-columns: minmax(0, 1fr) auto 96px; gap: 12px; }
}
@container (max-width: 720px) {
    .lr-flow-map, .lr-flow-more { grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1.35fr); }
    .lr-flow-row { grid-template-columns: minmax(0, 1fr) auto auto auto; }
    .lr-flow-row > span:last-child { display: none; }
}
@container (max-width: 480px) {
    .lr-flow-map, .lr-flow-more { grid-template-columns: 110px 28px minmax(0, 1fr); padding-inline: 18px; }
    .lr-flow-map { padding-top: 18px; }
    .lr-flow-more { font-size: 12px; line-height: 16px; }
    .lr-flow-row { grid-template-columns: minmax(0, 1fr) auto 8px; gap: 6px; padding: 0 8px; }
    .lr-flow-row > span:nth-child(3), .lr-flow-cap em, .lr-flow-pill, .lr-flow-trade small { display: none; }
    .lr-flow-cap { margin-bottom: 8px; }
    .lr-flow-cap b, .lr-flow-trade b, .lr-flow-trade em { font-size: 14px; }
    .lr-flow-trade { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 0 10px 0 12px; }
    .lr-flow-trade b + i { margin-left: 6px;  background: #f1f1f3;  color: #6b6b75; }
    .lr-flow-foot { flex-wrap: wrap; gap: 12px 24px; padding: 16px 18px 18px; }
    .lr-flow-foot .lr-confirm { width: 100%; }
    .lr-flow-foot .lr-confirm > .lr-confirm-go { flex: 1; height: 44px; }
}
@container (max-width: 340px) {
    .lr-flow-trade b + i { display: none;  background: #f1f1f3;  color: #6b6b75; }
}
@media (max-width: 560px) {
    .lr-bento-checked { grid-template-columns: minmax(0, 1fr); }
    .lr-ways li > span:last-child { display: block; }
}
.lr-bstage-dots > .lr-bpanel.lr-bstage-list { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 12px; padding: 16px 20px 20px; }
.lr-bstage-list .lr-confirm-go { flex: 1; justify-content: center; }
.lr-confirm-go b { font-weight: 600; }
.lr-confirm-go.is-done { background: var(--lr-accent); }
.lr-cut { gap: 12px; }
.lr-cut-net { display: flex; flex-direction: column; }
.lr-cut-net small { color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-cut-net b { color: #449a6b; font-size: 32px; font-weight: 600; line-height: 40px; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.lr-cut-bar { display: flex; gap: 2px; height: 12px; }
.lr-cut-bar i:first-child { flex: 1; border-radius: 4px 0 0 4px; background: #449a6b; }
.lr-cut-bar i:last-child { width: max(10px, var(--fee)); border-radius: 0 4px 4px 0; background: #c4342d; }
.lr-cut-rows { display: flex; justify-content: space-between; gap: 16px; }
.lr-cut-rows > span { display: flex; flex-direction: column; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-cut-rows > span:last-child { text-align: right; }
.lr-cut-rows em { color: #1d1d22; font-size: 16px; font-style: normal; font-weight: 600; line-height: 24px; font-variant-numeric: tabular-nums; }
.lr-cut-rows em.is-loss { color: #c4342d; }
.lr-cut-note { color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-bstage-list .lr-confirm { justify-content: flex-start; gap: 8px; }

/* ---------- A picture's own controls are not links (24 Nov) ---------- */
/* The product pictures are images, so their arrows and indigo words promised a click that never came. */

@media (max-width: 760px) {
    /* Counts under each other: a dot never hangs at a line's end. */
}

@media (max-width: 560px) {
    .lr-conn-auto span, .lr-conn-search { display: none; }
    .lr-conn-search + .lr-conn-row { margin-top: 0; }
    .lr-conn-row:nth-child(n+7) { display: none; }
    .lr-conn { padding-block: 6px !important; }
}
/* A phone and a tablet: the chapters stand on the page's own gutter; on a phone the card itself is the panel, with no stage
   around it (Igor 24 Nov «много отступов по краям»). */
@media (max-width: 900px) {
    .lr-v5 { padding: 36px 0 0; }
    .lr-v5 + .lr-v5 { padding-top: 48px; }
    .lr-v5-title { font-size: 32px; line-height: 38px; }
    .lr-v5-title span { font-size: 20px; line-height: 28px; letter-spacing: -0.015em; }
    .lr-bento { margin-top: 20px; }
}
@media (max-width: 560px) {
    .lr-bcard { --pad: 18px; padding: var(--pad); }
    .lr-bcard.lr-bcard-versions { padding-bottom: 0; }
    .lr-bcard-title { font-size: 20px; line-height: 28px;  letter-spacing: -0.02em; }
    .lr-bstage-dots:not(.lr-ideas) { padding: 0; background: none; }
    .lr-bstage-dots > .lr-bpanel { padding: 18px var(--pad); border: 0; border-radius: 0; box-shadow: none; }
    .lr-bstage, .lr-bcard :is(.lr-ways, .lr-synced, .lr-decide, .lr-pv) { margin-top: 18px; }
    .lr-bcard :is(.lr-ways, .lr-synced, .lr-decide) { padding-top: 18px; }
    .lr-conn-row { gap: 12px; }
}
@media (max-width: 360px) {
    .lr-dayb-hours em:last-child { display: none; }
}
.lr-product { overflow-x: clip;  background: #f8f8f9; }

/* The changelog's cards are swiped on a phone, not stacked (Igor 25 Nov on long phone screens: «не делай их гигантскими портянками»). */


/* A staged card is one surface: the title stands on the same soft light as the picture. The white strip above a line held
   two short phrases on a third of its width and read as an empty header (Igor 25 Nov). A phone keeps the line: there the
   card itself is the panel. */
@media (min-width: 561px) {
    .lr-bcard-staged { background: #fff; }
    .lr-bcard-staged > .lr-bstage { margin-top: 20px; border-top: 0; background: none; }
    .lr-bcard-staged > .lr-bstage-dots, .lr-bcard-staged > .lr-bstage.lr-ideas { padding-top: 0; }
    /* what stands on the light is white, like the panels */
    .lr-bcard-staged .lr-td-steps li:not(.is-on) i { background: #fff; box-shadow: inset 0 0 0 1px #e2e1ee; }
    .lr-page .lr-bcard-staged .lr-notion-import { background: #fff; box-shadow: inset 0 0 0 1px #dcdaf0; }
    .lr-page .lr-bcard-staged .lr-notion-import:hover { background: #f5f4fd; }
}

/* Setups stands alone across; after it the blocks pair up, no three full-width cards in a row (Igor 25 Nov «чтобы не висели 3
   полноформатных карточки»): the Notion page beside its columns, the attempts beside the replay. */
@media (min-width: 701px) and (max-width: 1439px) {
    .lr-bcard-bridge { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; column-gap: 28px; }
    .lr-bcard-bridge > .lr-bstage { margin: 0 0 calc(-1 * var(--pad)); padding-inline: 0; }
    .lr-page .lr-nb-top .lr-notion-import { display: inline-flex; margin-top: 20px; }
    .lr-page .lr-nb > .lr-notion-import { display: none; }
}
@media (min-width: 1440px) {
    .lr-bento-way { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
    .lr-bcard-setups { grid-column: 1 / -1; }
    .lr-bstage-dots > .lr-bpanel.lr-nw { grid-template-columns: minmax(0, 1fr); }
    .lr-nw-side { display: none; }
    .lr-nw-crumbs { display: flex; }
    .lr-nw-page { padding: 0 24px 24px; }
    .lr-nw-row { grid-template-columns: minmax(0, 1fr) 200px; gap: 20px; }
    .lr-nw-tr { grid-template-columns: minmax(0, 1fr) 170px 88px; }
    .lr-nw-tr > span:nth-child(2) { display: none; }
    .lr-nw-tr > span:first-child .lr-icon { display: none; }
    .lr-nw-tr > span:last-child { padding-right: 0; }
    .lr-nw-rule { font-size: 16px; line-height: 24px; }
    .lr-nw-col .lr-nw-w { flex: 1; }
    .lr-nw-col .lr-nw-path { flex: 1; min-height: 36px; }
    .lr-bento-prop { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
    .lr-bcard-versions .lr-pv { display: flex; flex: 1; flex-direction: column; }
    .lr-bcard-versions .lr-pv-row { display: contents; }
    .lr-pv-col.lr-pv-col { display: grid; flex: 1; grid-template-columns: minmax(0, 1fr) 140px; grid-template-rows: auto auto 1fr auto; column-gap: 12px; padding: 14px var(--pad) 14px; border-right: 0; border-top: 1px solid #ececf0; }
    .lr-pv-col:first-child { border-top: 0; }
    .lr-pv-top { grid-area: 1 / 2; justify-content: flex-end; }
    .lr-pv-n, .lr-pv-foot { display: none; }
    .lr-pv-name { grid-area: 1 / 1; margin: 0; line-height: 24px; }
    .lr-pv-dates { grid-area: 2 / 1; }
    .lr-pv-result { grid-area: 3 / 1; align-self: center; margin: 0; font-size: 24px; line-height: 32px; }
    .lr-pv-result small { font-size: 14px; }
    .lr-pv-chart { grid-area: 2 / 2 / 4 / 3; align-self: center; height: 44px; margin: 18px 4px 18px 0; }
    .lr-pv-note { grid-area: 4 / 1 / 5 / 3; margin: 0; line-height: 20px; }
    .lr-pv-track { gap: 8px; padding: 12px var(--pad); }
    .lr-pv-track .lr-pv-line { font-size: 12px; }
    .lr-pv-track .lr-pv-line > :not(em:first-child) { display: none; }
    .lr-pv-track > span:first-child { font-size: 14px; }
    .lr-mx-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; }
    .lr-mx-head .lr-shelf-answer { display: contents; }
    .lr-mx-head .lr-shelf-answer b { align-self: center; }
    .lr-mx-head .lr-shelf-answer span { grid-area: 2 / 1 / 3 / 3; }
    .lr-mx th:first-child { width: 196px; }
    .lr-mx thead th:last-child { width: 60px; }
    .lr-mx i { height: 50px; }
    .lr-mx-foot { flex-direction: column; gap: 4px; }
}

/* ── The pictures are windows of the app (Igor 25 Nov «в мокапах много пустот или несобранности, разных сеток» → «Да, везде»).
   One window everywhere: a 44 px bar (icon, the page's name, one fact), 16 px inside, 14 and 12 px words, one large figure;
   28 px of light on every side of it; rows of one height, their number chosen, never stretched. A wide window has 24 inside.
   On a phone the card itself is the window. ── */
.lr-bcard-staged { --win: 16px; padding: var(--pad); background: #fff; overflow: hidden; }
.lr-bcard-flow, .lr-bcard-setups { --win: 24px; }
.lr-bcard-staged > .lr-bstage { display: flex; flex-direction: column; flex: 1; margin: 20px 0 0; padding: 0; border: 0; background: none; isolation: auto; }
.lr-bcard-staged > .lr-bstage.lr-ideas { display: grid; padding: 0; }
.lr-bcard-staged > .lr-bstage > .lr-bpanel, .lr-bcard-staged > .lr-bstage > .lr-bpanel.lr-bstage-list { display: flex; flex-direction: column; flex: 1; height: auto; padding: 0; gap: 0; overflow: hidden; border: 0; border-radius: 0; background: #fff; box-shadow: none; color: #1d1d22; font-size: 14px; line-height: 20px; }
.lr-win-bar { display: flex; flex: none; align-items: center; gap: 8px; box-sizing: border-box; height: 44px; padding: 0 var(--win); border-bottom: 1px solid #ececf0; font-size: 14px; line-height: 20px; white-space: nowrap; }
.lr-win-bar > b { overflow: hidden; font-weight: 500; text-overflow: ellipsis; }
.lr-bcard .lr-win-bar > .lr-icon { width: 16px; height: 16px; color: #6b6b75; stroke-width: 1.8; }
.lr-win-bar > :last-child:not(b, .lr-icon) { margin-left: auto; }
.lr-win-bar > span:last-child { display: flex; align-items: center; gap: 8px; color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-win-bar > span:last-child > .lr-icon { width: 16px; height: 16px; color: #6b6b75; }
.lr-win-bar > img { flex: none; width: 18px; height: 18px; }
.lr-win-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: var(--win); }
.lr-win-foot { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box; min-height: 44px; padding: 0 var(--win); border-top: 1px solid #ececf0; color: #6b6b75; font-size: 12px; line-height: 16px; white-space: nowrap; }

/* What you do well: three sheets, the light around them as around a window */
.lr-idea { border-radius: 6px; }
/* Your words */
.lr-words-quote { margin-top: 0; }
.lr-words-bars { margin-top: 16px; padding-top: 0; gap: 12px; }
.lr-words-sum { margin-top: auto; padding-top: 12px; }
.lr-words-bars { padding-bottom: 14px; }
/* The day */
.lr-win-bar .lr-td-steps { gap: 16px; margin: 0; padding: 0; font-size: 12px; line-height: 20px; list-style: none; }
.lr-win-bar .lr-td-steps li { gap: 6px; }
.lr-win-bar .lr-td-steps i, .lr-bcard-staged .lr-win-bar .lr-td-steps li:not(.is-on) i { width: 20px; height: 20px; }
.lr-bcard-staged .lr-win-bar .lr-td-steps li:not(.is-on) i { background: #f1f1f4; box-shadow: none; }
.lr-td-focus { border-radius: 6px; }
.lr-dayb-now { bottom: 0; }
.lr-td-focus :is(small, .lr-td-focus-note) { font-size: 12px; line-height: 18px; }
.lr-td-focus small { display: block; }
.lr-td-focus > span:first-child b { line-height: 18px; }
.lr-dayb-news small { font-size: 12px; line-height: 16px; }
.lr-dayb-news b, .lr-dayb-row.is-plan b { font-weight: 500; }
.lr-dayb-foot { font-size: 12px; line-height: 16px; }
/* The loop */
.lr-loop { gap: 16px; }
.lr-loop-head i { width: 36px; height: 36px;  background: var(--lr-accent); }
.lr-loop-head .lr-icon { width: 20px; height: 20px; }
.lr-loop-head b { font-size: 20px; line-height: 24px; }
.lr-loop-foot { flex-direction: row; justify-content: space-between; font-size: 12px; line-height: 16px; }
.lr-loop-foot b { font-size: inherit; line-height: inherit; letter-spacing: 0; }
/* Say why */
.lr-bstage-dots .lr-note-voice { flex: none; box-sizing: border-box; height: 96px; padding: 0 var(--win); border-radius: 0; border-bottom: 1px solid #ececf0; }
.lr-note-voice em { font-size: 12px; }
.lr-note-voice .lr-wave { justify-content: space-between; }
.lr-bcard-notes .lr-editor { border: 0; border-radius: 0; }
.lr-bcard-notes .lr-editor-body { padding: var(--win); }
.lr-editor-body b, .lr-editor-body > span { font-size: 14px; line-height: 24px; }
.lr-editor-body b { margin-top: 20px; font-weight: 600; }
.lr-bcard .lr-decide { margin: 0; padding: var(--win); border: 0; }
.lr-review-label { margin-top: 0; padding-top: 18px; }
.lr-win-bar > span.lr-review-filled:last-child { gap: 6px; height: 28px; padding: 0 10px; color: #fff; }
.lr-bcard-review.is-armed .lr-win-bar > span.lr-review-filled:last-child { color: var(--lr-accent); }
.lr-bcard-review.is-filled .lr-win-bar > span.lr-review-filled:last-child { color: #fff; }
.lr-bcard .lr-win-bar .lr-review-filled .lr-icon { width: 14px; height: 14px; color: inherit; }
.lr-review-chip, .lr-review-btn, .lr-review-choices span { height: 36px; }
.lr-review-field { padding-block: 7px; }
.lr-review-stars .lr-icon { width: 20px; height: 20px; }
.lr-review-stars em { font-size: 12px; }
.lr-review-link { margin-top: 10px; font-size: 12px; line-height: 16px; }
/* Trades come in */
.lr-conn-tools { display: flex; flex: none; align-items: center; gap: 12px; box-sizing: border-box; height: 56px; padding: 0 var(--win); border-bottom: 1px solid #ececf0; }
.lr-conn-search { flex: 1; height: 36px; min-width: 0; }
.lr-conn-search .lr-icon { width: 16px; height: 16px; }
.lr-conn-tabs { display: flex; gap: 2px; color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-conn-tabs > * { padding: 6px 10px; border-radius: 6px; font-weight: 500; }
.lr-conn-tabs b { background: #ececfa; color: var(--lr-accent); }
.lr-conn .lr-conn-row { min-height: 56px; padding: 0 var(--win); border-top: 0; border-bottom: 1px solid #f0f0f4; }
.lr-conn .lr-conn-row.is-on { background: #f3f2fd; }
.lr-conn-row b, .lr-ways b { font-size: 14px; line-height: 20px; }
.lr-conn-row small, .lr-conn-auto { font-size: 12px; line-height: 16px; }
.lr-conn-auto .lr-icon { width: 14px; height: 14px; }
.lr-conn .lr-src-tile { width: 32px; height: 32px; border-radius: 6px; }
.lr-conn-more { display: grid; flex: none; place-items: center; height: 40px; color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-bcard .lr-ways { display: block; flex: none; margin: 0; padding: 8px 0; border: 0; list-style: none; }
.lr-ways li { gap: 8px; height: 40px; padding: 0 var(--win); }
.lr-ways li:nth-child(3) { background: #f3f2fd; }
.lr-bcard .lr-ways .lr-icon { width: 16px; height: 16px; padding: 0; border-radius: 0; background: none; color: #6b6b75; }
.lr-way-logo { width: 16px; height: 16px; border-radius: 0; background: none; }
.lr-way-logo img { width: 16px; height: 16px; }
.lr-ways li > span:last-child { align-items: center; flex-wrap: nowrap; }
.lr-ways small { font-size: 12px; line-height: 16px; white-space: nowrap; }
.lr-bento-sources { grid-template-rows: auto auto; }
.lr-synced-count { display: inline; }
.lr-synced-count b { font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; }
.lr-win-bar .lr-src-tile { width: 18px; height: 18px; border-radius: 5px; }
.lr-win-bar .lr-synced-name small { font-size: 12px; line-height: 16px; }
.lr-win-bar .lr-synced-name i { order: 2; width: 6px; height: 6px; }
.lr-bcard-synced .lr-synced-trades { margin: 0; padding: 0; border: 0; list-style: none; }
.lr-bcard-synced .lr-synced-trades li { height: 40px; padding: 0 var(--win); border-top: 1px solid #f0f0f4; font-size: 14px; }
.lr-bcard-synced .lr-synced-trades li:first-child { border-top: 0; }
.lr-bcard-synced .lr-synced-trades li:last-child { align-items: center; }
.lr-synced-trades :is(small, .lr-synced-side) { font-size: 12px; line-height: 16px; }
/* Checked */
.lr-flow-trades { gap: 10px; }
.lr-flow-trade { margin: 0; }
.lr-flow-mid path { mix-blend-mode: normal; }
.lr-flow-mid .is-up { fill: #d7eadf; }
.lr-flow-mid .is-down { fill: #f6dcd9; }
.lr-again-trades i { box-shadow: none; background: #e2e2e9; }
.lr-flow-map, .lr-flow-more { padding-inline: var(--win); }
.lr-flow-map { padding-top: 16px; }
.lr-flow-cap { margin-bottom: 8px; font-size: 12px; line-height: 20px; }
.lr-flow-cap b { font-size: 14px; }
.lr-flow-trade b, .lr-flow-trade em { font-size: 14px; }
.lr-flow-trade small { font-size: 12px; }
.lr-flow-more { padding-bottom: 16px; font-size: 12px; line-height: 16px; }
.lr-flow-foot { padding: 12px var(--win); background: #fff; }
.lr-flow-foot > span:not(.lr-confirm) { font-size: 12px; line-height: 16px; }
.lr-flow-foot > span:not(.lr-confirm) > b { font-size: 14px; line-height: 20px; letter-spacing: 0; }
.lr-again .lr-win-body { gap: 8px; justify-content: center; }
.lr-again-line { font-size: 12px; line-height: 16px; }
.lr-again-trades { margin-bottom: 4px; }
.lr-again-trades i.is-win { background: #449a6b; }
.lr-again-trades i.is-loss { background: #c4342d; }
.lr-cut-net b { font-size: 24px; line-height: 32px; }
.lr-win-foot.lr-again-sum { margin: 0; padding-block: 0; }
.lr-cut .lr-win-body { gap: 12px; }
.lr-cut-net small, .lr-cut-rows > span { font-size: 12px; line-height: 16px; }
.lr-cut-rows em { font-size: 14px; line-height: 20px; }
/* Setups */
.lr-win-bar .lr-setups-btn.is-say { height: 32px; gap: 8px; padding: 0 12px; color: #fff; font-size: 14px; line-height: 20px; }
.lr-bcard .lr-win-bar > .lr-setups-btn:last-child .lr-icon { width: 16px; height: 16px; color: #fff; }
.lr-win-bar > .lr-setups-btn.is-say:last-child { color: #fff; }
.lr-home .lr-win-body { padding-top: 16px; }
.lr-shelf-answer { font-size: 20px; }
.lr-home-ver { font-size: 12px; line-height: 16px; }
.lr-home-ver .lr-icon { width: 14px; height: 14px; }
.lr-home-rule { font-size: 14px; line-height: 20px; }
.lr-home-sheet { padding: 16px; }
.lr-home-pays { font-size: 12px; line-height: 16px; }
.lr-home-tag { width: auto; min-width: 70px; padding-inline: 8px; }
.lr-home-plot, .lr-home-hours { margin-right: 84px; }
.lr-home-head em { padding-right: 0; }
.lr-paper.is-new > span { padding-inline: 12px; }
/* Notion */
.lr-bcard-staged > .lr-bstage > .lr-bpanel.lr-nw { display: grid; grid-template-rows: auto 1fr; padding: 0; }
.lr-win-bar.lr-nw-crumbs { display: flex; grid-column: 1 / -1; height: 44px; color: #8f8e8a; }
.lr-nw-crumbs > b { flex: none; }
.lr-nw-w { padding: 12px; }
.lr-nw-big { font-size: 24px; line-height: 32px; }
.lr-nw-page { padding: 0 var(--win) var(--win); }
.lr-bcard-staged > .lr-bstage > .lr-bpanel.lr-nb { gap: 0; }
.lr-win-body.lr-nb-map { display: grid; padding-block: 12px; }
.lr-nb-list { grid-template-rows: repeat(9, minmax(44px, 1fr)); }
.lr-nb-prop { height: 34px; }
.lr-nb-prop.is-kept { border-color: #c9c9d2; }
.lr-nb-field { height: 36px; }
.lr-nb-mid { margin-top: 0; }
.lr-nb-stay { grid-row: 7 / span 3; font-size: 12px; }
.lr-nb .lr-win-foot { padding-block: 10px; }
.lr-page .lr-nb .lr-win-foot .lr-notion-import { flex: 1; justify-content: center; margin: 0; }
.lr-page .lr-bcard-staged .lr-notion-import { height: 36px; }
/* Prop */
.lr-bcard.lr-bcard-versions { padding-bottom: var(--pad); }
.lr-bcard .lr-pv { margin: 0; padding: 0; border: 0; }
.lr-win-bar .lr-logo { width: 20px; height: 20px; border-radius: 5px; }
.lr-win-bar > span:last-child em { margin-left: -8px; font-style: normal; }
.lr-pv-col.lr-pv-col { padding-inline: var(--win); }
.lr-pv-name { font-size: 14px; }
.lr-pv-result { font-size: 24px; line-height: 32px; letter-spacing: -.03em; }
.lr-pv-result { flex-direction: column; align-items: flex-start; }
.lr-pv-result small { font-size: 12px; line-height: 16px; }
.lr-pv-note { font-size: 12px; line-height: 16px; }
.lr-pv-track { padding: 12px var(--win); }
.lr-pv-track > span:first-child, .lr-pv-line { font-size: 12px; line-height: 16px; }
.lr-mx-top { display: block; }
.lr-seg.lr-mx-seg { display: inline-flex; height: 32px; box-sizing: border-box; padding: 2px; font-size: 12px; }
.lr-seg.lr-mx-seg { min-width: 220px; }
.lr-seg.lr-mx-seg button { padding-inline: 8px; }
.lr-seg.lr-mx-seg button { flex: 1; height: 26px; padding-block: 0; line-height: 16px; }
.lr-win-bar > .lr-seg.lr-mx-seg { display: inline-flex; gap: 0; color: #6b6b75; }
.lr-mx-firm b { font-size: 14px; }
.lr-mx .lr-mx-sum { font-size: 14px; }
@media (min-width: 701px) and (max-width: 1439px) {
    .lr-bcard-notion { --win: 24px; }
    .lr-bcard-bridge { align-items: start; }
    .lr-bcard-staged.lr-bcard-bridge > .lr-bstage { margin: 0; }
    .lr-nb .lr-win-foot { display: none; }
}
@media (min-width: 901px) and (max-width: 1511px) { .lr-idea-foot small:first-child { display: none; } }
@media (min-width: 1361px) and (max-width: 1420px) {
    .lr-bento-well { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
    .lr-bcard-staged > .lr-bstage.lr-ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lr-idea:nth-child(n+3) { display: none; }
}
@media (min-width: 901px) and (max-width: 1100px) {
    .lr-bento-well { grid-template-columns: minmax(0, 1fr); }
    .lr-bcard-staged > .lr-bstage.lr-ideas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lr-idea:nth-child(n+3) { display: flex; }
}
@media (min-width: 1240px) and (max-width: 1439px) {
    .lr-bcard-staged > .lr-bstage > .lr-bpanel.lr-nw { grid-template-columns: minmax(0, 1fr); }
    .lr-nw-side { display: none; }
    .lr-nw-title { margin-top: 4px; }
    .lr-nw-row { margin-top: 12px; }
    .lr-bento-way { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
    .lr-bcard-setups { grid-column: 1 / -1; }
    .lr-bcard-notion { --win: 16px; }
    .lr-bcard-bridge { display: flex; align-items: stretch; }
    .lr-bcard-staged.lr-bcard-bridge > .lr-bstage { margin-top: 20px; }
    .lr-page .lr-nb-top .lr-notion-import { display: none; }
    .lr-nb .lr-win-foot { display: flex; }
    .lr-nw-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .lr-nw-col { flex-direction: row; }
    .lr-nw-w { flex: 1 1 0; }
    .lr-nw-tr { grid-template-columns: minmax(0, 1fr) 64px 170px 92px; }
    .lr-nw-tr > span:nth-child(2) { display: flex; }
    .lr-nw-tr .lr-icon { display: none; }
    .lr-nw-tr > span:last-child { padding-right: 0; }
    .lr-nw-db .lr-nw-tr:nth-child(n+6) { display: none; }
    .lr-nw-rule { font-size: 16px; line-height: 24px; white-space: nowrap; }
    .lr-nw-title { font-size: 24px; line-height: 32px; }
    .lr-page .lr-nb .lr-win-foot .lr-notion-import { padding: 0 8px; }
}
@media (min-width: 1440px) {
    .lr-bcard-versions .lr-win-bar em, .lr-pv-track > span:first-child .lr-icon { display: none; }
    .lr-pv-chart { align-self: end; margin-bottom: 24px; }
    .lr-nw-title { margin-top: 4px; font-size: 24px; line-height: 32px; }
    .lr-nw-row { margin-top: 12px; }
    .lr-nw-tr:not(.is-head) > span { height: 46px; }
}
@media (max-width: 560px) {
    .lr-bcard-staged { --win: 18px; padding-bottom: 0; background: #fff; }
    .lr-bcard-staged > .lr-bstage, .lr-bcard-staged > .lr-bstage.lr-bstage-dots { margin: 18px calc(-1 * var(--pad)) 0; border-top: 1px solid #ececf0; }
    .lr-bcard-staged > .lr-bstage > .lr-bpanel.lr-bpanel { border: 0; border-radius: 0; box-shadow: none; }
    .lr-bcard-staged > .lr-bstage.lr-ideas { display: flex; flex-direction: row; padding: 18px var(--pad); border-top: 1px solid #ececf0; background: #f8f7fd; }
    .lr-bcard.lr-bcard-versions { padding-bottom: 0; }
    .lr-bcard-versions .lr-win-bar em { display: none; }
    .lr-win-bar .lr-td-steps { gap: 10px; }
    .lr-win-bar .lr-td-steps li:not(.is-on) { gap: 0; font-size: 0; }
    .lr-win-bar > span.lr-review-filled:last-child { order: 0; }
    .lr-ways li { height: 52px; }
    .lr-bcard-replay .lr-win-bar { flex-wrap: wrap; height: auto; padding-block: 12px; row-gap: 12px; }
    .lr-bcard-replay .lr-win-bar .lr-mx-seg { width: 100%; margin: 0; }
    .lr-mx-wrap { margin-inline: 0; padding-inline: 0; overflow: visible; }
    .lr-mx { display: block; width: 100%; }
    .lr-mx :is(thead, tbody) { display: block; }
    .lr-mx tr { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-items: center; }
    .lr-mx thead th { padding-bottom: 4px; }
    .lr-mx thead th:is(:first-child, :last-child) { display: none; }
    .lr-mx tbody tr { padding: 10px 0 8px; }
    .lr-mx tbody th { position: static; grid-column: 1 / 7; width: auto; padding: 0 0 6px; }
    .lr-mx tbody th::before { content: none; }
    .lr-mx .lr-mx-sum { grid-area: 1 / 7 / 2 / 9; padding: 0 0 6px; }
    .lr-mx td { padding: 0 1.5px; }
    .lr-mx i { height: 28px; }
    .lr-mx-firm b { white-space: nowrap; line-height: 20px; }
    .lr-firm-tile { width: 24px; height: 24px; }
    .lr-firm-tile img { width: 16px; height: 16px; }
    .lr-bcard-versions .lr-pv-row.lr-pv-row { display: contents; }
    .lr-bcard-versions .lr-pv-col.lr-pv-col { display: grid; flex: none; grid-template-columns: minmax(0, 1fr) 140px; grid-template-rows: auto auto 1fr auto; column-gap: 12px; padding: 14px var(--pad); border: 0; border-top: 1px solid #ececf0; }
    .lr-bcard-versions .lr-pv-col:first-child { border-top: 0; }
    .lr-bcard-versions .lr-pv-top { grid-area: 1 / 2; justify-content: flex-end; }
    .lr-bcard-versions :is(.lr-pv-n, .lr-pv-foot) { display: none; }
    .lr-bcard-versions .lr-pv-name { grid-area: 1 / 1; margin: 0; line-height: 24px; }
    .lr-bcard-versions .lr-pv-dates { grid-area: 2 / 1; }
    .lr-bcard-versions .lr-pv-result { grid-area: 3 / 1; align-self: center; margin: 0; }
    .lr-bcard-versions .lr-pv-chart { grid-area: 2 / 2 / 4 / 3; align-self: end; height: 44px; margin: 18px 4px 24px 0; }
    .lr-bcard-versions .lr-pv-note { grid-area: 4 / 1 / 5 / 3; margin: 0; }
    .lr-bcard-versions .lr-pv-track { flex-direction: row; align-items: center; padding: 12px var(--pad); }
    .lr-bcard-versions .lr-pv-track .lr-pv-line > :not(em:first-child) { display: none; }
    .lr-bstage .lr-conn.lr-conn { padding: 0 !important; }
    .lr-conn-more { display: none; }
    .lr-conn .lr-conn-row:nth-child(7) { display: flex; border-bottom: 0; }
    .lr-nb .lr-notion-import.lr-notion-import { background: #fff; box-shadow: inset 0 0 0 1px #dcdaf0; }
    .lr-flow-map, .lr-flow-more { grid-template-columns: 104px 40px minmax(0, 1fr); }
    .lr-nw-page { padding: 0 0 18px; }
    .lr-flow-trade b, .lr-flow-trade em { font-size: 14px; }
}
@media (max-width: 340px) {
    .lr-conn-tabs > :last-child, .lr-conn .lr-win-bar > span, .lr-flow .lr-win-bar > span { display: none; }
}
@media (min-width: 1101px) and (max-width: 1239px) {
    .lr-nw-tr { grid-template-columns: minmax(0, 1fr) 64px 172px 92px; }
    .lr-nw-tr .lr-icon { display: none; }
    .lr-nw-row { grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; }
}
@container (max-width: 480px) {
    .lr-flow-trade { gap: 4px; padding: 0 8px 0 10px; }
    .lr-flow-trade b + i { margin-left: 4px; padding: 0 4px;  background: #f1f1f3;  color: #6b6b75; }
}
@media (max-width: 340px) { .lr-bcard-versions .lr-pv-track > span:first-child .lr-icon { display: none; } }
/* the Notion page without a cover (Igor 25 Nov on its curve: «вот это надо убрать наверно»): its icon beside its name */
.lr-nw-page .lr-nw-title { display: inline-block; margin: 0; padding: 0; font-size: 24px; line-height: 32px; vertical-align: middle; }
.lr-nw-page { padding-top: var(--win); }
@media (max-width: 560px) {
    .lr-nw-page { padding-top: 18px; }
    .lr-nw-icon { margin-left: var(--pad); }
}
/* Replay: the firms by their short names, the months wider, the answer's second line small (Igor 25 Nov «сократить или заменить их и
   тогда панель правых колонок станет шире. а текст либо сократить либо уменьшить») */
.lr-mx-head .lr-shelf-answer span { font-size: 14px; line-height: 20px; letter-spacing: 0; }
.lr-mx-firm { gap: 10px; }
.lr-mx .lr-firm-tile { width: 32px; height: 32px; }
.lr-mx .lr-firm-tile img { width: 22px; height: 22px; }
@media (min-width: 561px) {
    .lr-mx th:first-child { width: 132px; }
    .lr-mx thead th:last-child { width: 64px; }
}
@media (max-width: 560px) {
    .lr-mx .lr-firm-tile { width: 24px; height: 24px; }
    .lr-mx .lr-firm-tile img { width: 16px; height: 16px; }
}
/* the Prop pair stands lower (Igor 25 Nov «сделать немного ниже этот блок?») */
@media (min-width: 1440px) {
    .lr-mx i { height: 38px; }
    .lr-pv-col.lr-pv-col { padding-block: 12px; }
    .lr-pv-chart { height: 40px; margin: 18px 4px 20px 0; }
    .lr-pv-track { padding-block: 10px; }
    .lr-pv-name { white-space: nowrap; }
    .lr-pv-col.lr-pv-col { grid-template-columns: minmax(0, 1fr) 132px; }
}
@media (prefers-reduced-motion: reduce) {
}
@media (max-width: 1420px) {
}
@media (max-width: 1180px) {
}
@media (max-width: 900px) {
}
@media (max-width: 600px) {
}

/* 26 Nov, pass 2 — staged product objects, inside the approved bento.
   Attio supplies the window/detail relationship; refs 20/33 the light;
   refs 06/23/35 the data density; refs 10/25/37 the paper and folders. */
:where(.lr-landing-page) .lr-main > :is(.lr-product, .lr-every, .lr-proof, .lr-faq) {
    --lr-ink: #1d1d22; --lr-muted: #6b6b75;
    --lr-app-ink: #1d1d22; --lr-app-muted: #6b6b75;
    --lr-gain: #449a6b; --lr-gain-bar: #449a6b; --lr-loss: #c4342d;
    --lr-radius-button: 6px;
    --lr-stage-shadow: 0 2px 4px rgb(29 29 34 / .04), 0 16px 32px -16px rgb(37 30 83 / .24);
    --lr-float-shadow: 0 2px 6px rgb(29 29 34 / .06), 0 16px 32px -12px rgb(37 30 83 / .22);
}
.lr-product { background: #fafafa; }
.lr-bcard-staged { position: relative; background: #fff; border-color: #e3e3e7; }
.lr-product .lr-bcard .lr-icon { stroke-width: 1.5; }
.lr-product .lr-win-bar { min-width: 0; }
.lr-bcard-staged > .lr-bstage {
    margin: 24px calc(-1 * var(--pad)) calc(-1 * var(--pad));
    padding: 24px; background: #f4f4f6; border: 0;
}
.lr-bcard-staged > .lr-bstage > .lr-bpanel.lr-bpanel {
    border: 1px solid #e0e0e6; border-radius: 12px; background: #fff;
    box-shadow: var(--lr-stage-shadow); overflow: hidden;
}
.lr-bcard-staged .lr-win-bar { background: #fff; }
/* Findings: three real paper objects on a shallow shelf, and one priced note. */
.lr-bcard-staged.lr-bcard-well > .lr-bstage.lr-ideas {
    display: grid; padding: 32px 20px 24px; gap: 12px;
    background: radial-gradient(ellipse at 45% 0%, #fff 20%, #e9e9ed 100%);
}
.lr-idea { filter: drop-shadow(0 1px 1px rgb(29 29 34 / .12)) drop-shadow(0 10px 10px rgb(29 29 34 / .07)); }
.lr-idea:nth-child(2) { translate: 0 -8px; }
.lr-idea-top em { padding: 2px 6px; border-radius: 6px; background: #f0eff9; color: var(--lr-accent); }
/* the small cards' stages share one ground, Review's #f5f5f6 (Igor 26 Nov «фон лучше наверно… или ты специально фоны разные тут делал?»); Notion's warm ground is Notion's own */
.lr-bcard-words > .lr-bstage { padding: 16px; background: #f5f5f6; }
.lr-bcard-words .lr-win-bar { background: #1d1d22; color: #fff; border: 0; }
.lr-bcard-words .lr-win-bar > :is(span:last-child,.lr-icon) { color: #c8c7d3; }
.lr-words-quote { font-size: 24px; line-height: 32px; }
.lr-words-bars { margin-top: 24px; }
.lr-words-sum { margin-top: auto; border-top: 1px solid #e8e8ed; padding-top: 16px; font-variant-numeric: tabular-nums; }
/* A desk-wide timeline, with today's rule lifted above it. Calendar is a paper object. */
.lr-bcard-day > .lr-bstage { background: linear-gradient(145deg, #e3e1f4, #f8f8fa 55%, #e8e8ee); }
.lr-bcard-day .lr-td-focus {
    position: relative; z-index: 1; margin: 0 -8px 16px; padding: 16px;
    border: 1px solid #d9d6ed; border-radius: 12px; background: #fff;
    box-shadow: var(--lr-float-shadow);
}
.lr-bcard-day .lr-td-focus b { color: var(--lr-accent); }
.lr-bcard-day .lr-td-focus-note b { color: #449a6b; }
.lr-bcard-loop > .lr-bstage { background: #f5f5f6; padding: 24px 16px; }
.lr-bcard-loop .lr-win-bar { border-bottom: 1px solid #e4e3e1; }
.lr-bcard-loop .lr-loop-head i { background: #eeedf6; color: var(--lr-accent); }
.lr-bcard-loop .lr-loop-cal .is-kept { background: #f0eff8; color: var(--lr-accent); }
.lr-bcard-loop .lr-loop-cal .is-open { background: #fafafa; }
.lr-bcard-loop .lr-loop-foot { padding-top: 12px; border-top: 1px solid #e8e8ed; }
/* Voice: the recording floats over the white note; the review is a separate app sheet. */
.lr-bcard-notes > .lr-bstage { padding: 32px 24px 24px; background: radial-gradient(ellipse at 20% 90%, #d3cfed, transparent 70%), #f0eff5; }
.lr-bcard-staged.lr-bcard-notes > .lr-bstage > .lr-note { overflow: visible; }
.lr-bcard-notes .lr-win-bar { border-radius: 12px 12px 0 0; }
.lr-bcard-notes .lr-bstage .lr-note-voice {
    position: relative; z-index: 1; height: 80px; margin: 16px -12px 0; padding: 0 20px;
    border: 1px solid #34333f; border-radius: 12px; background: #1d1d22;
    box-shadow: var(--lr-float-shadow);
}
.lr-bcard-notes .lr-note-voice .lr-wave { height: 44px; }
.lr-bcard-notes .lr-note-voice .lr-wave i { width: 2px; background: #c1bbee; }
.lr-bcard-notes .lr-note-voice em { color: #d3cfeb; }
.lr-bcard-notes .lr-note-rec { width: 8px; height: 8px; background: #c1bbee; }
.lr-bcard-notes .lr-editor { background: #fff; border-radius: 0 0 12px 12px; }
.lr-bcard-notes .lr-editor-body { padding: 4px 20px 24px; }
.lr-bcard-notes .lr-editor-body b { color: #6b6b75; font-size: 12px; font-weight: 500; }
.lr-bcard-notes .lr-editor-body > span { color: #1d1d22; }
.lr-bcard-review > .lr-bstage { background: #f5f5f6; padding: 24px 20px; }
.lr-bcard-review .lr-review-filled { box-shadow: 0 3px 8px rgb(68 58 184 / .15); }
/* Sources: a large connection window; compact menu; freshly arrived ledger. */
.lr-bcard-conn > .lr-bstage { background: radial-gradient(ellipse at 0 100%, #bdb7e8, transparent 72%), linear-gradient(135deg, #f4f3f8, #e9e7f1); }
.lr-bcard-conn .lr-conn .lr-conn-row.is-on { background: #f0eef9; }
.lr-bcard-conn .lr-conn-tools { height: auto; min-height: 64px; flex-wrap: wrap; gap: 8px; padding-block: 12px; }
.lr-bcard-conn .lr-conn-search { flex-basis: 100%; }
.lr-bcard-conn .lr-conn-tabs { justify-content: space-between; width: 100%; }
.lr-bcard-ways > .lr-bstage { padding: 16px 24px 24px; background: #fff; }
.lr-bcard-ways .lr-ways li { height: 48px; }
.lr-bcard-ways .lr-ways li > span:last-child { gap: 4px; }
.lr-bcard-ways .lr-ways small { white-space: normal; text-align: right; }
.lr-bcard-staged.lr-bcard-synced > .lr-bstage { padding: 0; margin: 24px 0 0; background: #fff; }
.lr-bcard-staged.lr-bcard-synced > .lr-bstage > .lr-bpanel { border: 0; border-radius: 0; box-shadow: none; }
.lr-bcard-synced .lr-win-bar, .lr-bcard-synced .lr-synced-trades li { padding-inline: 0; }
.lr-bcard-synced .lr-synced-trades li:first-child { background: #f7f7fa; }
/* The import gets the strongest light: a file feeding a real confirmation window. */
.lr-bcard-flow > .lr-bstage {
    padding: 32px; background: radial-gradient(ellipse at 80% 20%, #eeeaff 0, transparent 56%), linear-gradient(135deg, #8b82cd, #c9c4ec 48%, #ecebf5);
}
.lr-bcard-flow .lr-flow-file { border-color: #dedee5; background: #f4f4f7; }
.lr-bcard-flow .lr-flow-trade { background: #fff; box-shadow: 0 3px 8px rgb(29 29 34 / .05); }
.lr-bcard-flow .lr-flow-mid path { fill: #cecbdc; fill-opacity: .65; }
.lr-bcard-flow .lr-flow-mid path.is-lit { fill: var(--lr-accent); fill-opacity: .32; }
.lr-bcard-flow .lr-flow-foot { background: #fafafa; }
.lr-bcard-again > .lr-bstage { padding: 24px; background: #f5f5f6; }
.lr-bcard-fees > .lr-bstage { padding: 24px; background: #f5f5f6; }
.lr-bcard-fees .lr-cut-net b { font-size: 32px; line-height: 40px; }
.lr-bcard-fees .lr-cut-bar { height: 12px; border-radius: 6px; }
/* Setups: the existing folders become tactile; the rule sheet sits over the chart's edge. */
.lr-bcard-setups > .lr-bstage { padding: 28px 24px 32px; background: linear-gradient(150deg, #e9e7f6, #f2f2f6 45%, #c8c3e9); }
.lr-product .lr-paper { --tint: #edecef; --edge: #c6c4d1; }
.lr-product .lr-paper.is-active > span { --tint: #e4e0f6; --edge: var(--lr-accent); }
.lr-product .lr-paper > span { box-shadow: 0 4px 8px rgb(29 29 34 / .06); }
.lr-bcard-setups .lr-home-sheet { position: relative; z-index: 2; align-self: center; margin-left: -12px; box-shadow: var(--lr-float-shadow); transform: rotate(1deg); }
.lr-bcard-notion > .lr-bstage { background: #f2f1ee; padding: 24px 16px; }
.lr-bcard-notion .lr-nw-col { position: relative; z-index: 1; }
.lr-bcard-notion .lr-nw-w { border: 1px solid #dfdce9; border-radius: 12px; background: #fff; box-shadow: var(--lr-float-shadow); }
.lr-bcard-notion .lr-nw-rule { font-size: 14px; line-height: 20px; }
.lr-bcard-notion .lr-nw-bar, .lr-bcard-notion .lr-nw-slots { height: 4px; }
.lr-bcard-notion .lr-nw-bar i { background: #449a6b; }
.lr-bcard-notion .lr-nw-slots i { height: 4px; border: 0; border-radius: 2px; box-shadow: none; }
.lr-bcard-notion .lr-nw-slots i.is-used { background: var(--lr-accent); }
.lr-bcard-bridge > .lr-bstage { background: #f5f5f6; padding: 16px; }
.lr-bcard-bridge .lr-nb-list { grid-template-rows: repeat(8, minmax(44px, 1fr)); }
.lr-bcard-bridge .lr-nb-stay { grid-row: 7 / span 2; }
.lr-page .lr-bcard-staged.lr-bcard-bridge .lr-notion-import { height: 40px; padding: 0 12px; border-radius: 6px; background: var(--lr-accent); box-shadow: none; color: #fff; }
/* Prop: three attempt receipts next to a white replay matrix with a dark answer bar. */
.lr-bcard-versions > .lr-bstage { padding: 16px; background: #f5f5f6; }
.lr-bcard-versions .lr-pv-track { background: #eeedf6; color: var(--lr-accent); }
.lr-bcard-replay > .lr-bstage { padding: 20px; background: #f5f5f6; }
.lr-bcard-replay .lr-mx-head { margin: calc(-1 * var(--win)) calc(-1 * var(--win)) 0; padding: 20px var(--win); background: #1d1d22; color: #fff; }
.lr-bcard-replay .lr-mx-head .lr-shelf-answer { color: #c6c4d4; }
.lr-bcard-replay .lr-mx-head .lr-shelf-answer b { color: #fff; }
.lr-bcard-replay .lr-mx .is-pass, .lr-bcard-replay.is-armed.is-in .lr-mx .is-pass { background: #eceaf8; color: var(--lr-accent); }
.lr-bcard-replay .lr-mx .is-fail { background: #f5f5f7; border-color: #dddde3; color: #6b6b75; }
.lr-bcard-replay .lr-mx .is-open { border-color: #dddde3; color: #6b6b75; }
/* Reviews are signed paper, with the trading rule picked out in indigo. No stock faces. */
.lr-review { position: relative; padding: 32px; border-color: #e5e4e8; background: #faf9f7; }
.lr-review::before { content: '“'; display: block; height: 40px; margin-bottom: 16px; color: #bcb9ca; font: 500 44px/48px var(--lr-font); }
.lr-review.is-dark { background: #eeecf7; border-color: #ded9ee; }
.lr-review.is-dark::before { color: var(--lr-accent); }
.lr-review mark.is-gain { background: #e9e7e4; }
.lr-review:first-child mark.is-gain { background: #e6eee6; }
.lr-review mark.is-cost { background: #e9e7e4; }
.lr-review.is-dark mark.is-tsb { background: #d9d3f0; }
.lr-review figcaption { margin-top: auto; padding-top: 32px; }
.lr-review-who { padding-left: 12px; border-left: 2px solid #cbc7d8; }
/* the same bar across the width, only lower (Igor 26 Nov «было круто просто много пустого», «растяни, просто по краям уменьшил и норм») */
.lr-weekly { position: relative; display: flex; width: auto; max-width: none; margin-top: 40px; min-height: 0; padding: 12px 20px 12px 14px; gap: 14px; border: 1px solid #e4e2ea; border-radius: 12px; background: #fafafa; color: #1d1d22; font-size: 16px; line-height: 24px; }
.lr-weekly > span[aria-hidden]:not(.lr-update-object) { display: none; }
.lr-weekly-all { margin-left: auto; }
.lr-update-object { position: relative; flex: none; width: 48px; height: 40px; margin-right: 0; }
.lr-update-object i { position: absolute; inset: 6px 12px; border: 1px solid #d7d2ec; border-radius: 6px; background: #fff; box-shadow: 0 4px 8px rgb(29 29 34 / .07); transform: rotate(-12deg); }
.lr-update-object i:nth-child(2) { transform: rotate(8deg); }
.lr-update-object i:last-child { inset: 18px 4px 0; transform: none; background: linear-gradient(150deg, #c7c0e8, #e8e4f5); border-color: #c0b8de; }
@media (max-width: 760px) { }
@media (min-width: 1440px) {
    .lr-bcard-replay .lr-mx th:first-child { width: 148px; }
    .lr-bcard-replay .lr-mx tbody i { height: 44px; }
    .lr-bcard-notion .lr-nw-row { grid-template-columns: minmax(0,1fr) 180px; gap: 12px; }
    .lr-bcard-notion .lr-nw-tr { grid-template-columns: minmax(0,1fr) 112px 72px; }
    .lr-bcard-notion .lr-nw-col { margin: 12px -8px -8px 0; }
    .lr-bcard-versions .lr-pv-col.lr-pv-col { grid-template-columns: minmax(0,1fr) 108px; }
}
@media (min-width: 701px) and (max-width: 1239px) {
    .lr-bcard-bridge > .lr-bstage { margin-bottom: 0; border-radius: 12px; }
}
@media (max-width: 900px) {
}
/* Phone: readable objects, not scaled desktop screenshots (shots-live/phone-02–09).
   Narrow windows become the card; only paper and the recorder retain a shallow stage. */
@media (max-width: 560px) {
    .lr-bcard-staged { padding-bottom: 0; }
    .lr-bcard-staged > .lr-bstage, .lr-bcard-staged > .lr-bstage.lr-bstage-dots { margin: 20px calc(-1 * var(--pad)) 0; padding: 0; border-top: 1px solid #e8e7ed; background: #fff; }
    .lr-bcard-staged > .lr-bstage > .lr-bpanel.lr-bpanel { border: 0; border-radius: 0; box-shadow: none; }
    .lr-bcard-staged.lr-bcard-well > .lr-bstage.lr-ideas { display: flex; padding: 24px 18px 20px; }
    .lr-idea:nth-child(2) { translate: none; }
    .lr-bcard-notes > .lr-bstage.lr-bstage-dots { padding: 16px; background: #eeecf5; }
    .lr-bcard-staged.lr-bcard-notes > .lr-bstage > .lr-note { border: 1px solid #e0ddea; border-radius: 12px; }
    .lr-bcard-notes .lr-bstage .lr-note-voice { margin: 12px -6px 0; height: 64px; padding: 0 14px; }
    .lr-bcard-notes .lr-editor-body { padding: 0 16px 20px; }
    .lr-bcard-day .lr-td-focus { margin: 0 0 20px; padding: 12px; border-radius: 6px; box-shadow: none; background: #f5f4fa; }
    .lr-bcard-loop > .lr-bstage.lr-bstage-dots { background: #f5f5f6; }
    .lr-bcard-ways > .lr-bstage.lr-bstage-dots { padding: 0; }
    .lr-bcard-ways .lr-ways li { height: 52px; }
    .lr-bcard-ways .lr-ways small { text-align: left; }
    .lr-bcard-staged.lr-bcard-synced > .lr-bstage { margin: 20px calc(-1 * var(--pad)) 0; }
    .lr-bcard-synced .lr-win-bar, .lr-bcard-synced .lr-synced-trades li { padding-inline: var(--win); }
    .lr-bcard-flow > .lr-bstage.lr-bstage-dots { padding: 12px 0 0; background: linear-gradient(120deg,#c8c2e9,#eeecf8); }
    .lr-bcard-flow .lr-flow { border-radius: 12px 12px 0 0 !important; }
    .lr-bcard-fees .lr-cut-net b { font-size: 32px; }
    .lr-bcard-setups .lr-home-sheet { margin: 16px 0 0; transform: none; box-shadow: 0 3px 12px rgb(29 29 34 / .07); }
    .lr-bcard-notion .lr-nw-page { padding-inline: 18px; }
    .lr-bcard-notion .lr-nw-col { margin: 0; }
    .lr-bcard-notion .lr-nw-w { box-shadow: 0 3px 10px rgb(29 29 34 / .05); }
    .lr-bcard-replay .lr-mx-head { padding: 16px var(--win); }
    .lr-review { padding: 24px; }
    .lr-review blockquote { font-size: 20px; line-height: 28px; }
    .lr-review figcaption { padding-top: 24px; }
    .lr-weekly { gap: 12px; padding: 12px 16px 12px 12px; font-size: 16px; line-height: 24px; }
    .lr-update-object { width: 40px; height: 36px; margin: 0; }
    .lr-weekly-all { margin-left: 0; min-height: 24px; }
}

/* Restored as the page has them: the dark statement and the closing band (Igor 25 Nov «Не трогать, дальше»; 26 Nov he named them the page's examples of good dark blocks). */
/* The dark statement and every broker. */
.lr-dark { position: relative; background: #07070b; color: #fff; overflow: hidden; }
.lr-dark::before, .lr-dark::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .08); left: max(var(--lr-gutter), calc(50% - var(--lr-page) / 2 - 24px)); }
.lr-dark::after { left: auto; right: max(var(--lr-gutter), calc(50% - var(--lr-page) / 2 - 24px)); }
.lr-dark-statement > .lr-container { position: relative; z-index: 1; }
.lr-dark-statement { position: relative; padding: var(--lr-space-step) 0 clamp(210px, 16vw, 270px); overflow: hidden; }
.lr-dark-hatch { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 9px); -webkit-mask-image: radial-gradient(70% 90% at 50% 100%, #000 0, transparent 75%); mask-image: radial-gradient(70% 90% at 50% 100%, #000 0, transparent 75%); }
.lr-dark-kicker { position: relative; color: #a9a6d8; font-size: var(--lr-t-lead); font-weight: 500; letter-spacing: -0.02em; }
.lr-dark-display { position: relative; margin-top: 10px; color: #fff; font-family: var(--lr-font); font-size: clamp(48px, 6.6vw, 104px); font-weight: 600; line-height: 1.02; letter-spacing: -0.045em; }
.lr-horizon { position: absolute; left: 50%; bottom: calc(-1 * clamp(1300px, 120vw, 2200px) + clamp(140px, 11vw, 190px)); width: clamp(1700px, 150vw, 2800px); height: clamp(1300px, 120vw, 2200px); border-radius: 50%; background: #07070b; transform: translateX(-50%); box-shadow: 0 -1px 0 0 #7a72ff, 0 -6px 18px -2px rgba(98, 88, 255, .85), 0 -30px 70px -10px rgba(68, 58, 184, .7), 0 -80px 140px -20px rgba(68, 58, 184, .35); }
@media (max-width: 1100px) {
    .lr-dark-statement { padding-bottom: 152px; }
    .lr-horizon { bottom: calc(-1 * clamp(1300px, 120vw, 2200px) + 92px); }
}
@media (max-width: 1100px) and (min-width: 701px) {
    .lr-dark-copy br { display: none; }
}
.lr-dark-stack { position: relative; padding: 48px 0 var(--lr-space-step); border-top: 1px solid rgba(255, 255, 255, .1); }
.lr-h2-dark { color: #fff; }
.lr-dark-copy { margin-top: 20px; text-wrap: balance; color: #c9cad3; font-size: 18px; line-height: 1.55; }
.lr-page .lr-dark-link { margin-top: 16px; color: #a49dff; font-size: 16px; }
.lr-tiles { display: flex; justify-content: center; gap: 20px; margin: 48px 0 0; padding: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); }
.lr-tile { display: grid; flex: none; grid-template-rows: 40px 20px; place-content: center; place-items: center; gap: 4px; min-width: 128px; height: 108px; padding: 0 20px; border: 1px solid #23232b; border-radius: 16px; background: linear-gradient(180deg, #16161c, #101015); color: #fff; }
.lr-tile.is-symbol { grid-template-rows: 40px; min-width: 108px; }
.lr-tile-name { color: #e8e9f1; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.005em; white-space: nowrap; }
.lr-tile .lr-mark, .lr-tile-img { width: 34px; height: 34px; }
.lr-tile.is-symbol .lr-mark, .lr-tile.is-symbol .lr-tile-img { width: 42px; height: 42px; }
.lr-tile .lr-mark-bybit { width: 70px !important; height: 24px !important; }
.lr-tile .lr-mark-topstep { width: 18px; height: 32px; }
.lr-tile .lr-mark-ibkr { width: 18px; height: 34px; }
.lr-tile .lr-mark-ninjatrader { width: 40px; height: 28px; }
.lr-tile.is-symbol .lr-mark-tradingview { width: 52px; height: 34px; }
.lr-tile .lr-mark-fundednext { width: 52px; height: 27px; }
.lr-tile-img { object-fit: contain; filter: brightness(0) invert(1); }
.lr-tile-img-apex { width: 54px !important; height: 28px !important; }
@media (max-width: 760px) {
    .lr-tiles { justify-content: flex-start; gap: 14px; }
    .lr-tile { min-width: 96px; height: 84px; border-radius: 14px; }
}

/* ── Igor's remarks, 26 Nov ── */
/* the months stand on a timeline, not in the air */
.lr-one-months { height: 28px; margin-top: 10px; border-top: 1px solid #dcdce4; }
.lr-one-months em { top: 6px; padding-left: 6px; }
.lr-one-months em::before { content: ''; position: absolute; top: -7px; left: 0; width: 1px; height: 7px; background: #b9b9c4; }
/* the three ideas one height, side by side */
.lr-bstage.lr-ideas { align-items: stretch; }
.lr-bstage.lr-ideas .lr-idea { translate: none !important; transform: none !important; margin-top: 0 !important; }
.lr-bstage.lr-ideas .lr-idea-name { min-height: 0; overflow: hidden; font-size: 14px; line-height: 20px; letter-spacing: -0.01em; white-space: nowrap; text-overflow: ellipsis; }
/* a card's title and its line read as one two-tone sentence */
.lr-bcard-title.lr-bcard-line { color: #1d1d22; font-size: 20px; font-weight: 500; line-height: 28px; letter-spacing: -0.015em; text-wrap: wrap; }
.lr-bcard-title.lr-bcard-line > span { color: #6b6b75; }
.lr-bcard-staged:is(.lr-bcard-replay, .lr-bcard-notes) .lr-bcard-title.lr-bcard-line > span { color: inherit; opacity: .72; }
/* the voice under the quote */
.lr-words-voice { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-words-play { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid #c4342d; }
.lr-words-voice .lr-wave { flex: 1; min-width: 0; height: 22px; gap: 3px; overflow: hidden; }
.lr-words-voice .lr-wave i { width: 2px; background: #c4342d; opacity: .55; }
.lr-words-voice em { font-style: normal; font-variant-numeric: tabular-nums; }
/* the month of the rule: back to the page's own colours (kept green, a break hatched red with its money, today filled) */
.lr-bcard-loop .lr-loop-head i { background: #449a6b; color: #fff; }
.lr-bcard-loop .lr-loop-head i.is-broke { background: #d9605a; color: #fff; }
.lr-bcard-loop .lr-loop-cal i { border: 1px solid transparent; }
.lr-bcard-loop .lr-loop-cal .is-kept { background: #e4f1e9; color: #449a6b; }
.lr-bcard-loop .lr-loop-cal .is-broke { border-color: rgba(196, 52, 45, .45); background: repeating-linear-gradient(135deg, rgba(196, 52, 45, .16) 0 1px, transparent 1px 5px) #fdf1f0; color: #b52f28; font-weight: 600; }
.lr-bcard-loop .lr-loop-cal .is-broke.is-up { color: #1d1d22; }
.lr-bcard-loop .lr-loop-cal .is-kept.is-today { background: #449a6b; color: #fff; }
.lr-bcard-loop .lr-loop-cal .is-open { border-color: #ececf0; background: #fff; color: #6b6b75; }
/* the hours the rule closes: a calm band between two dashed edges, not a box */
.lr-dayb-hatch { top: 4px; bottom: 4px; border: 0; border-right: 1px dashed rgba(196, 52, 45, .45); border-left: 1px dashed rgba(196, 52, 45, .45); border-radius: 0; background: rgba(196, 52, 45, .06); }
/* the one-line heading: the title carries the weight, the rest reads as its line */
.lr-bcard-title.lr-bcard-line { font-weight: 600; letter-spacing: -0.02em; }
.lr-bcard-title.lr-bcard-line > span { font-weight: 400; letter-spacing: -0.01em; }
/* the rule's month as a trader reads it: each session's money, a break marked where it happened */
.lr-loop-cal.is-money { grid-auto-rows: minmax(44px, 1fr); }
.lr-loop-cal.is-money i { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 5px 7px 6px; border: 1px solid #ececf0; border-radius: 6px; background: #fff; color: #1d1d22; font-style: normal; }
.lr-loop-cal.is-money i small { color: #9a9aa4; font-size: 12px; font-weight: 500; line-height: 12px; }
.lr-loop-cal.is-money i b { font-size: 12px; font-weight: 600; line-height: 16px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.lr-loop-cal.is-money .is-up b { color: #2e8550; }
.lr-loop-cal.is-money .is-down b { color: #c4342d; }
.lr-loop-cal.is-money .is-kept.is-up { background: #f1f8f4; border-color: #dcefe4; }
.lr-loop-cal.is-money .is-broke { border-color: rgba(196, 52, 45, .55); background: repeating-linear-gradient(135deg, rgba(196, 52, 45, .12) 0 1px, transparent 1px 5px) #fdf3f2; }
.lr-loop-cal.is-money .is-broke::after { content: ''; position: absolute; top: 5px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #c4342d; }
.lr-loop-cal.is-money .is-today { box-shadow: inset 0 0 0 2px var(--lr-accent); }
.lr-loop-cal.is-money .is-open { background: #fafafb; }
.lr-loop-foot em { font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.lr-loop-foot em.is-gain { color: #2e8550; }
.lr-bcard-loop .lr-loop-cal.is-money i { background: #fff; }
.lr-bcard-loop .lr-loop-cal.is-money .is-kept.is-up { background: #f1f8f4; border-color: #dcefe4; }
.lr-bcard-loop .lr-loop-cal.is-money .is-kept.is-down { background: #fff; border-color: #ececf0; }
.lr-bcard-loop .lr-loop-cal.is-money .is-broke { border-color: rgba(196, 52, 45, .55); background: repeating-linear-gradient(135deg, rgba(196, 52, 45, .12) 0 1px, transparent 1px 5px) #fdf3f2; }
.lr-bcard-loop .lr-loop-cal.is-money .is-open { background: #fafafb; }
.lr-bcard-loop .lr-loop-foot { flex-direction: column; align-items: flex-start; gap: 2px; white-space: normal; }
/* the Notion widgets as the same sheets as the ideas above: white paper, a folded corner, a soft lift */
.lr-bcard-notion .lr-nw-w { position: relative; z-index: 0; border: 0; border-radius: 6px; background: none; box-shadow: none; filter: drop-shadow(0 1px 1px rgb(29 29 34 / .12)) drop-shadow(0 10px 10px rgb(29 29 34 / .07)); }
.lr-bcard-notion .lr-nw-w::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: 6px; background: #fff; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.lr-bcard-notion .lr-nw-w::after { content: ''; position: absolute; top: 0; right: 0; width: 20px; height: 20px; border-bottom-left-radius: 5px; background: #d9d8e4; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.lr-bcard-notion .lr-nw-w .lr-nw-head { padding-right: 22px; }
/* the Notion table: room for a setup's whole name (Igor 26 Nov «подвигай там колонки») */
@media (min-width: 1440px) { .lr-bcard-notion .lr-nw-tr { grid-template-columns: minmax(0, 1fr) 174px 92px; } }
@media (max-width: 560px) {
.lr-bcard-notion .lr-nw-tr { grid-template-columns: 64px minmax(0, 1fr) 76px; }
.lr-bcard-notion .lr-nw-tr em { font-size: 12px; }
}
/* headings: the line goes whole to the next row when it doesn't fit, never broken in the middle («не удачные переносы») */
.lr-bcard-title.lr-bcard-line > span { display: inline-block; }
.lr-bcard-staged:is(.lr-bcard-replay, .lr-bcard-notes) .lr-bcard-title.lr-bcard-line > span { color: #6b6b75; opacity: 1; }
/* Replay: the answer as a plain line beside its switch, passes read as passes, a failed start steps back */
.lr-bcard-replay .lr-bpanel { position: relative; }
.lr-bcard-replay .lr-mx-head { margin: 0; padding: 4px 220px 16px 0; background: none; color: inherit; }
.lr-bcard-replay .lr-mx-head .lr-shelf-answer { color: #6b6b75; }
.lr-bcard-replay .lr-mx-head .lr-shelf-answer b { display: block; color: #1d1d22; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -0.02em; }
.lr-bcard-replay .lr-bpanel > .lr-win-bar { position: absolute; z-index: 1; top: var(--win); right: var(--win); height: auto; padding: 0; border: 0; background: none; }
.lr-bcard-replay .lr-win-body { padding-top: var(--win); }
.lr-bcard-replay .lr-mx .is-pass, .lr-bcard-replay.is-armed.is-in .lr-mx .is-pass { border-color: transparent; background: #e4f1e9; color: #2e8550; }
.lr-bcard-replay.is-armed .lr-mx .is-pass { background: #f1f8f4; }
.lr-bcard-replay .lr-mx .is-fail { border-color: transparent; background: #f4f4f6; color: #b4b4bd; }
.lr-bcard-replay .lr-mx tbody tr + tr :is(th, td) { border-top: 1px solid #f0f0f3; }
@media (max-width: 760px) {
.lr-bcard-replay .lr-mx-head { padding: 0 0 12px; }
.lr-bcard-replay .lr-bpanel > .lr-win-bar { position: static; margin-bottom: 12px; }
}

/* "Found it online?" as the page has it (Igor 25 Nov «Да, ставь на страницу»; 26 Nov «этот блок он испортил»). */
/* For every trader: one large All accounts screen. */
/* one section's space above "Found it online?", not the last chapter's gap added to it (Igor 26 Nov «под и над ним отступы правильные?») */
.lr-chapter:last-child { padding-bottom: var(--lr-space-step); }
.lr-every { position: relative; isolation: isolate; padding: var(--lr-space-section) 0; }
/* the closing band's hatch, light (Igor 26 Nov «как тут только светлая версия»): 1px on a 9px pitch from both edges, gone by the content */
.lr-every::before { --bx-side: calc((100% - min(var(--lr-page), 100% - 2 * var(--lr-gutter))) / 2); content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(90deg, rgb(68 58 184 / .34) 0 1px, transparent 1px 9px); -webkit-mask-image: linear-gradient(90deg, #000 0, rgb(0 0 0 / .45) calc(var(--bx-side) * .45), transparent var(--bx-side), transparent calc(100% - var(--bx-side)), rgb(0 0 0 / .45) calc(100% - var(--bx-side) * .45), #000 100%); mask-image: linear-gradient(90deg, #000 0, rgb(0 0 0 / .45) calc(var(--bx-side) * .45), transparent var(--bx-side), transparent calc(100% - var(--bx-side)), rgb(0 0 0 / .45) calc(100% - var(--bx-side) * .45), #000 100%); }
@media (max-width: 600px) { .lr-every::before { display: none; } }
/* ── Found it online? (Igor 25 Nov: the story as a sentence in the first chapter's own language, over a chart drawn day by day). Every
   figure is the gallery's own run. ── */
.lr-bx { --bx-gutter: 112px; --bx-top: 58px; --bx-chip-y: 12px; color: #1d1d22; text-align: left; }
.lr-bx * { box-sizing: border-box; }
.lr-bx-lines { margin: 0; font-size: 40px; font-weight: 500; line-height: 62px; letter-spacing: -.034em; }
.lr-bx-line { display: block; white-space: nowrap; transition: opacity .2s linear, transform .3s var(--lr-ease); }
.lr-bx-line i { color: #6b6b75; font-style: normal; }
/* three lines as the first chapter: the first holds two halves that wrap as wholes on a narrower screen */
.lr-bx-line:first-child { white-space: normal; }
.lr-bx-half { display: inline-block; white-space: nowrap; transition: opacity .2s linear, transform .3s var(--lr-ease); }
.lr-bx-line b { font-weight: 500; font-variant-numeric: tabular-nums; }
.lr-bx .is-loss { color: #c4342d; }
.lr-bx .is-gain { color: #2e8550; }
.lr-bx [data-bx="fixed"].is-gain, .lr-bx-video i + em.is-gain { color: var(--lr-accent); }
.lr-bx-chip { position: relative; top: var(--bx-chip-y); display: inline-flex; align-items: center; gap: 10px; height: 44px; margin: 0 .1em; padding: 0 16px 0 13px; border: 1px solid #e3e3ea; border-radius: 6px; background: #fff; box-shadow: none; color: #1d1d22; font-size: 24px; line-height: 42px; letter-spacing: -.03em; text-decoration: none; vertical-align: top; }
.lr-bx-chip em { font-style: normal; white-space: nowrap; }
.lr-bx-chip.is-video { padding: 4px 16px 4px 4px; }
.lr-bx-chip.is-video img { display: block; width: 64px; height: 36px; object-fit: cover; border-radius: 3px; background: #14131c; }
.lr-bx-chip.is-setup .lr-icon { width: 24px; height: 24px; color: var(--lr-accent); stroke-width: 1.8; }
.lr-bx-chip.is-setup b { font-weight: 500; }
.lr-bx-chip.is-fix { padding: 0 16px; border-color: transparent; background: var(--lr-accent); box-shadow: none; color: #fff; }
.lr-bx-chart { position: relative; height: 344px; margin: var(--bx-top) var(--bx-gutter) 0 0; cursor: ew-resize; touch-action: pan-y; }
.lr-bx-svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.lr-bx-svg path { vector-effect: non-scaling-stroke; }
.lr-bx-red, .lr-bx-green { clip-path: inset(-20px -12px -20px 0); transition: clip-path .5s var(--lr-ease); }
.lr-bx-green { transition-duration: .65s; }
.lr-bx-held { position: absolute; top: 12px; color: #6b6b75; font-size: 14px; line-height: 20px; white-space: nowrap; transition: opacity .25s linear .35s; }
.lr-bx-held b { display: block; color: var(--lr-accent); font-size: 20px; font-weight: 500; line-height: 28px; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
/* one tint on the chart, the year the fix never saw: no hatching, no fading fill under the fix's line (Igor 26 Nov «немного шумно» → «Да, ставь всё») */
.lr-bx-svg [data-bx="hatch"] { display: none; }
.lr-bx-grid line { stroke: #ececf1; stroke-width: 1; vector-effect: non-scaling-stroke; }
.lr-bx-ylabels { position: absolute; inset: 0; pointer-events: none; }
.lr-bx-ylabels span { position: absolute; left: 0; color: #6b6b75; font-size: 12px; line-height: 16px; font-variant-numeric: tabular-nums; transform: translateY(calc(-100% - 2px)); }
.lr-bx-svg [data-bx="zone"] { fill: #f6f6f9; }
.lr-bx-svg [data-bx="edge"] { stroke: #c3c0e2; }
.lr-bx-note { margin: 8px 0 0; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-bx:not(.is-drawn) .lr-bx-hand { visibility: hidden; }
.lr-bx-hand { position: absolute; color: #1d1d22; font: 500 24px/1 var(--lr-hand); white-space: nowrap; transform: rotate(-4deg); transition: opacity .3s linear; }
.lr-bx-end { position: absolute; left: calc(100% + 16px); font-size: 20px; font-weight: 500; line-height: 28px; letter-spacing: -.015em; white-space: nowrap; font-variant-numeric: tabular-nums; transform: translateY(-50%); transition: opacity .25s linear .4s; }
.lr-bx-end.is-fix { color: var(--lr-accent); }
.lr-bx-end.is-video { color: #c4342d; }
.lr-bx-cross { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid #1d1d22; opacity: 0; pointer-events: none; }
.lr-bx-cross.is-on { opacity: 1; }
.lr-bx-cross em { position: absolute; top: -28px; left: 0; padding: 0 10px; border-radius: 6px; background: #1d1d22; color: #fff; font-size: 14px; font-style: normal; line-height: 28px; white-space: nowrap; transform: translateX(-50%); }
.lr-bx-cross i { position: absolute; left: -7px; width: 13px; height: 13px; margin-top: -6px; border: 3px solid #fff; border-radius: 50%; background: #c4342d; box-shadow: 0 1px 4px rgba(20, 16, 60, .3); }
.lr-bx-cross i + i { background: var(--lr-accent); }
.lr-bx-axis { position: relative; height: 20px; margin: 14px var(--bx-gutter) 0 0; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-bx-axis em { position: absolute; font-style: normal; }
.lr-bx-axis em:last-child { right: 0; }
.lr-bx-axis::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 3px; background: repeating-linear-gradient(90deg, #e3e3ea 0 1px, transparent 1px 2.7778%); }
.lr-bx-axis em::before { content: ""; position: absolute; top: -14px; left: 0; height: 8px; border-left: 1px solid #9c9ca8; }
.lr-bx-axis em:last-child::before { left: auto; right: 0; }
.lr-bx-videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; margin-top: 40px; }
.lr-bx-video { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: #1d1d22; font: 400 14px/20px var(--lr-font); text-align: left; cursor: pointer; }
.lr-bx-video img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #f0f0f4; filter: saturate(.7); transition: filter .15s linear, box-shadow .15s linear; }
.lr-bx-video[aria-pressed="true"] img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lr-accent); }
.lr-bx-video:hover img, .lr-bx-video[aria-pressed="true"] img { filter: none; }
.lr-bx-video:focus-visible { outline: 2px solid var(--lr-accent); outline-offset: 4px; border-radius: 6px; }
.lr-bx-video b { display: block; font-weight: 500; text-wrap: pretty; transition: color .15s linear; }
.lr-bx-video:hover b { color: var(--lr-accent); }
.lr-bx-video span span { display: block; margin-top: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lr-bx-video i, .lr-bx-video em { font-style: normal; }
.lr-bx-video i { color: #a5a5ad; }
.lr-bx-own { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 48px; padding: 32px 0 0; border-top: 1px solid #e3e3ea; }
.lr-bx-own b { font-size: 24px; font-weight: 500; line-height: 32px; letter-spacing: -.02em; }
.lr-bx-own p { margin: 4px 0 0; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-bx-own form { display: flex; align-items: center; width: min(760px, 100%); height: 64px; padding: 5px; border: 1px solid #d9d8e4; border-radius: 12px; background: #fff; }
.lr-bx-own .lr-youtube { flex: none; width: 30px; height: 21px; margin: 0 14px 0 18px; }
.lr-bx-own input { flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: none; font: 400 18px/28px var(--lr-font); color: #1d1d22; }
.lr-bx-own input::placeholder { color: #8a8a96; opacity: 1; }
.lr-bx-own input:focus-visible { outline: 0; }
.lr-bx-own form:focus-within { outline: 2px solid var(--lr-accent); outline-offset: 2px; }
.lr-bx-own button:focus-visible { outline: 2px solid var(--lr-accent); outline-offset: 2px; }
.lr-bx-own button:hover { background: #372e9c; }
.lr-bx-own button { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border: 0; border-radius: 6px; background: var(--lr-accent); color: #fff; font: 500 16px/24px var(--lr-font); white-space: nowrap; cursor: pointer; }
.lr-bx-own button .lr-icon, .lr-bx-count .lr-icon { width: 18px; height: 18px; stroke-width: 1.8; }
.lr-bx-count { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 24px 0 0; font-size: 16px; line-height: 24px; }
.lr-bx-count b { color: #1d1d22; font-weight: 500; }
.lr-bx-count a { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; color: var(--lr-accent); text-decoration: none; }
.lr-bx-count small { color: #6b6b75; font-size: 14px; }
/* told line by line: the loss falls under the third, TSB's fix carries it up under the fourth */
.lr-bx.is-armed :is(.lr-bx-half, .lr-bx-line:nth-child(n+2)) { opacity: 0; transform: translateY(10px); }
.lr-bx.is-armed.is-one .lr-bx-half:nth-child(1), .lr-bx.is-armed.is-two .lr-bx-half:nth-child(2), .lr-bx.is-armed.is-three .lr-bx-line:nth-child(2), .lr-bx.is-armed.is-four .lr-bx-line:nth-child(3) { opacity: 1; transform: none; }
.lr-bx.is-armed:not(.is-three) .lr-bx-red, .lr-bx.is-armed:not(.is-four) .lr-bx-green { clip-path: inset(-20px 100% -20px 0); }
.lr-bx-zone { transition: opacity .3s linear .15s; }
.lr-bx-arrow { transition: opacity .3s linear; }
.lr-bx.is-armed:not(.is-three) :is(.lr-bx-hand.is-video, .lr-bx-arrow.is-video, .lr-bx-end.is-video), .lr-bx.is-armed:not(.is-four) :is(.lr-bx-hand.is-fix, .lr-bx-arrow.is-fix, .lr-bx-end.is-fix, .lr-bx-held, .lr-bx-zone) { opacity: 0; transition-delay: 0s; }
.lr-bx.is-read :is(.lr-bx-hand, .lr-bx-arrow) { opacity: 0; }
/* the hand on the chart: the account up to that day, the rest hidden, the end sums away while it reads */
.lr-bx.is-read :is(.lr-bx-red, .lr-bx-green) { clip-path: inset(-20px calc((1 - var(--bx-at, 1)) * 100%) -20px 0); transition: none; }
.lr-bx.is-read .lr-bx-end { opacity: 0; transition: none; }
.lr-bx.is-still, .lr-bx.is-still * { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .lr-bx, .lr-bx * { transition: none !important; } }
@media (max-width: 1420px) { .lr-bx-video { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; } }
@media (max-width: 1180px) { .lr-bx-lines { font-size: 36px; line-height: 58px; } .lr-bx { --bx-chip-y: 12px; } }
@media (max-width: 1180px) { .lr-bx-chip { height: 40px; font-size: 22px; line-height: 38px; } }
@media (max-width: 1180px) { .lr-bx-chip.is-video img { width: 57px; height: 32px; } }
@media (max-width: 1180px) { .lr-bx-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; } }
@media (max-width: 1180px) { .lr-bx-video { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; } }
@media (max-width: 1180px) { .lr-bx-own { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px 0 0; } }
@media (max-width: 1180px) { .lr-bx-own form { width: 100%; } }
@media (max-width: 1180px) { .lr-bx-count { flex-direction: column; align-items: flex-start; gap: 8px; } }
@media (max-width: 900px) { .lr-bx-lines { font-size: 30px; line-height: 46px; } .lr-bx { --bx-chip-y: 6px; --bx-gutter: 88px; } }
@media (max-width: 900px) { .lr-bx-line { white-space: normal; } }
@media (max-width: 900px) { .lr-bx-line + .lr-bx-line { margin-top: 12px; } }
@media (max-width: 900px) { .lr-bx-nb { white-space: nowrap; } .lr-bx-half { white-space: normal; } }
@media (max-width: 900px) { .lr-bx-chip { height: 38px; gap: 10px; padding: 0 12px 0 10px; border-radius: 6px; font-size: 22px; line-height: 36px; } }
@media (max-width: 900px) { .lr-bx-chip.is-video { padding: 3px 12px 3px 3px; } }
@media (max-width: 900px) { .lr-bx-chip.is-video img { width: 54px; height: 30px; border-radius: 3px; } }
@media (max-width: 900px) { .lr-bx-chip.is-setup .lr-icon { width: 22px; height: 22px; } }
@media (max-width: 900px) { .lr-bx-chip.is-fix { padding: 0 12px; } }
@media (max-width: 900px) { .lr-bx-chart { height: 300px; } }
@media (max-width: 900px) { .lr-bx-end { left: calc(100% + 12px); font-size: 16px; line-height: 24px; } }
@media (max-width: 600px) { .lr-bx-lines { font-size: 28px; line-height: 40px; } .lr-bx { --bx-chip-y: 1px; --bx-top: 28px; --bx-gutter: 6px; } }
@media (max-width: 600px) { .lr-bx-line i { display: block; } .lr-bx-half { display: block; } .lr-bx-half + .lr-bx-half { margin-top: 18px; } }
@media (max-width: 600px) { .lr-bx-chip { margin: 2px 8px 2px 0; } }
@media (max-width: 600px) { .lr-bx-chip.is-fix + .lr-bx-nb { display: block; } }
@media (max-width: 600px) { .lr-bx-line + .lr-bx-line { margin-top: 18px; } }
@media (max-width: 600px) { .lr-bx-chart { height: 232px; } }
@media (max-width: 600px) { .lr-bx-axis { font-size: 12px; } }
@media (max-width: 600px) { .lr-bx-axis em:last-child { display: none; } }
@media (max-width: 600px) { .lr-bx-hand { display: none; } }
@media (max-width: 600px) { .lr-bx-end { left: auto; right: 0; font-size: 14px; line-height: 20px; transform: none; padding: 0 4px; } }
@media (max-width: 600px) { .lr-bx-held { font-size: 12px; line-height: 16px; } .lr-bx-held b { display: inline; font-size: 12px; line-height: 16px; } .lr-bx-note { font-size: 12px; line-height: 16px; } }
@media (max-width: 600px) { .lr-bx-videos { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; } }
@media (max-width: 600px) { .lr-bx-video { grid-template-columns: 96px minmax(0, 1fr); } }
@media (max-width: 600px) { .lr-bx-own { margin-top: 24px; padding: 24px 0 0; } }
@media (max-width: 600px) { .lr-bx-own form { flex-wrap: wrap; height: auto; } }
@media (max-width: 600px) { .lr-bx-own .lr-youtube { margin: 0 12px; width: 26px; height: 18px; } }
@media (max-width: 600px) { .lr-bx-own input { font-size: 16px; height: 52px; } }
@media (max-width: 600px) { .lr-bx-own button { width: 100%; height: 52px; justify-content: center; } }
@media (max-width: 600px) { .lr-bx-count { flex-direction: column; align-items: flex-start; gap: 8px; } }
@media (max-width: 600px) { .lr-bx-count a { margin-left: 0; } }
@media (max-width: 1100px) {
}
@media (max-width: 900px) {
}
@media (max-width: 600px) {
}
@media (max-width: 1100px) { }
@media (max-width: 600px) { }
@media (max-width: 600px) { }
@media (max-width: 600px) { }

/* ── Pricing — Cursor */
:where(.lr-landing-page) #pricing {
    --lr-ink: #1d1d22;
    --lr-muted: #6b6b75;
    --lr-pricing-card: #f5f5f6;
    --lr-pricing-button: #e7e7e9;
    --lr-pricing-line: #dedee2;
    --lr-pricing-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    padding: var(--lr-space-step) 0;
    color: var(--lr-ink);
    font-style: normal;
}
.lr-proof + #pricing { padding-top: calc(var(--lr-space-section) - var(--lr-space-step)); }
:where(.lr-landing-page) #pricing > .lr-container { width: min(1300px, calc(100% - 2 * var(--lr-gutter))); }
:where(.lr-landing-page) #pricing .lr-centered { margin-bottom: 44px; }
:where(.lr-landing-page) #pricing .lr-h2 { max-width: none; margin: 0; font-size: 44px; line-height: 52px; font-weight: 400; letter-spacing: -.035em; }
:where(.lr-landing-page) #pricing .lr-h2 span { color: var(--lr-muted); }
:where(.lr-landing-page) #pricing .lr-pricing-sub { margin-top: 12px; color: var(--lr-muted); font-size: 20px; line-height: 28px; text-wrap: pretty; }
:where(.lr-landing-page) #pricing .lr-period { display: inline-flex; align-items: stretch; max-width: 100%; margin-top: 28px; padding: 2px; border-radius: 999px; background: #ededee; }
:where(.lr-landing-page) #pricing .lr-period button { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 4px; min-width: 0; min-height: 40px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--lr-muted); font: 400 14px/20px var(--lr-font); cursor: pointer; }
:where(.lr-landing-page) #pricing .lr-period button[aria-pressed="true"] { color: var(--lr-ink); background: #fafafa; box-shadow: 0 1px 3px rgb(29 29 34 / .12); }
:where(.lr-landing-page) #pricing .lr-period button:hover { color: var(--lr-ink); }
:where(.lr-landing-page) #pricing .lr-period-save { color: var(--lr-muted); }
:where(.lr-landing-page) #pricing :is(a, button, summary):focus-visible { outline: 2px solid var(--lr-accent); outline-offset: 3px; }

/* Three equal, quiet surfaces; the primary action alone gets the brand colour. */
#pricing .lr-plans-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
:where(.lr-landing-page) #pricing .lr-plan { display: flex; flex-direction: column; min-width: 0; min-height: 704px; padding: 16px; border: 0; border-radius: 6px; background: var(--lr-pricing-card); scroll-margin-top: calc(var(--lr-nav-h) + 24px); }
:where(.lr-landing-page) #pricing .lr-plan-name { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 0; color: var(--lr-ink); font-size: 20px; line-height: 28px; font-weight: 400; letter-spacing: -.02em; }
:where(.lr-landing-page) #pricing .lr-plan-badge { padding: 2px 8px; border-radius: 999px; background: #e8e6f6; color: var(--lr-accent); font-size: 12px; line-height: 18px; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
:where(.lr-landing-page) #pricing .lr-plan-max .lr-plan-badge { color: var(--lr-muted); background: var(--lr-pricing-button); }
:where(.lr-landing-page) #pricing .lr-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin-top: 12px; }
:where(.lr-landing-page) #pricing .lr-plan-price b { font-size: 44px; line-height: 48px; font-weight: 400; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
:where(.lr-landing-page) #pricing .lr-plan-price > span { color: var(--lr-muted); font-size: 14px; line-height: 20px; }
:where(.lr-landing-page) #pricing .lr-plan-billing { min-height: 40px; margin-top: 4px; color: var(--lr-muted); font-size: 14px; line-height: 20px; }
:where(.lr-landing-page) #pricing :is(.lr-plan-cta, .lr-compare-cta) { min-width: 0; border: 0; border-radius: 999px; background: var(--lr-pricing-button); color: var(--lr-ink); box-shadow: none; font-weight: 400; text-align: center; white-space: normal; }
:where(.lr-landing-page) #pricing .lr-plan-cta { width: 100%; min-height: 44px; margin-top: 12px; padding: 10px 16px; font-size: 16px; line-height: 24px; }
:where(.lr-landing-page) #pricing :is(.lr-plan-cta, .lr-compare-cta):hover { background: #dcdcdf; }
:where(.lr-landing-page) #pricing .lr-button-primary { background: var(--lr-accent); color: #fff; }
:where(.lr-landing-page) #pricing .lr-button-primary:hover { background: var(--lr-accent-hover); }
#pricing .lr-plan-key { margin-top: 20px; }
#pricing .lr-plan-includes { color: var(--lr-muted); font-size: 14px; line-height: 20px; }
#pricing .lr-plan-key-value { margin-top: 4px; font-size: 24px; line-height: 32px; font-weight: 400; letter-spacing: -.02em; }
#pricing .lr-plan-key-caption { font-size: 14px; line-height: 20px; }
#pricing .lr-plan-features { margin-top: 20px; }
#pricing .lr-plan-features h4 { margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--lr-pricing-line); color: var(--lr-muted); font-size: 14px; line-height: 20px; font-weight: 400; }
#pricing .lr-plan-features ul { display: grid; gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; }
#pricing .lr-plan-features li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; font-size: 14px; line-height: 20px; }
#pricing .lr-plan-features li > span { min-width: 0; }
#pricing .lr-plan-features .lr-compare-yes { width: 14px; height: 14px; margin-top: 3px; }
:where(.lr-landing-page) #pricing .lr-plan-lead { margin-top: auto; padding-top: 28px; color: var(--lr-muted); font-size: 12px; line-height: 20px; }
:where(.lr-landing-page) #pricing .lr-plan-lead > span { display: block; }
:where(.lr-landing-page) #pricing .lr-plans-every { max-width: 880px; margin: 44px auto 0; color: var(--lr-muted); text-align: center; font-size: 12px; line-height: 20px; text-wrap: pretty; }
:where(.lr-landing-page) #pricing .lr-plans-every > span { display: block; margin-bottom: 4px; }

/* Cursor's comparison: compact plan heads, one usage row, horizontal hairlines. */
:where(.lr-landing-page) #pricing .lr-compare-title { margin: 96px 0 56px; text-align: center; font-size: 32px; line-height: 40px; font-weight: 400; letter-spacing: -.035em; }
:where(.lr-landing-page) #pricing .lr-compare-table { width: 100%; font-size: 14px; line-height: 20px; }
:where(.lr-landing-page) #pricing :is(.lr-compare-header, .lr-compare-row) { display: grid; grid-template-columns: var(--lr-pricing-columns); }
#pricing .lr-compare-header { position: sticky; top: var(--lr-nav-h); z-index: 3; padding-block: 12px; background: #fff; }
#pricing .lr-compare-header > .lr-compare-cell { padding: 0 12px; }
:where(.lr-landing-page) #pricing .lr-compare-plan { color: var(--lr-ink); font-size: 14px; line-height: 20px; font-weight: 400; }
:where(.lr-landing-page) #pricing .lr-compare-price { margin-top: 4px; color: var(--lr-muted); font-size: 12px; line-height: 20px; }
:where(.lr-landing-page) #pricing .lr-compare-cta { min-height: 28px; margin-top: 8px; padding: 4px 12px; font-size: 14px; line-height: 20px; }
#pricing .lr-compare-row { min-height: 54px; border-bottom: 1px solid var(--lr-pricing-line); }
#pricing .lr-compare-usage { min-height: 46px; border-top: 1px solid var(--lr-pricing-line); }
#pricing .lr-compare-label { align-self: center; min-width: 0; padding: 16px 24px 16px 0; color: var(--lr-ink); }
#pricing .lr-compare-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 16px 12px; color: var(--lr-muted); text-align: center; font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
:where(.lr-landing-page) #pricing .lr-compare-group { border-bottom: 1px solid var(--lr-pricing-line); }
:where(.lr-landing-page) #pricing .lr-compare-group > div { padding: 24px 0 16px; color: var(--lr-ink); font-size: 14px; line-height: 20px; font-weight: 400; }
:where(.lr-landing-page) #pricing .lr-compare-yes { flex: none; width: 20px; height: 20px; color: var(--lr-ink); stroke-width: 1.5; }
#pricing .lr-compare-yesline { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
#pricing .lr-compare-yesline .lr-compare-yes { width: 16px; height: 16px; }
:where(.lr-landing-page) #pricing .lr-compare-no { color: var(--lr-muted); font-size: 20px; line-height: 20px; }
#pricing .lr-meter-detail { display: none; margin-top: 4px; color: var(--lr-muted); font-size: 12px; line-height: 20px; }
#pricing .lr-compare-table:has(.lr-compare-fold[open]) .lr-meter-detail { display: block; }
#pricing .lr-compare-fold { scroll-margin-top: calc(var(--lr-nav-h) + 24px); }
#pricing .lr-plans-compare { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; padding: 16px 0; color: var(--lr-accent); font-size: 14px; line-height: 20px; font-weight: 400; list-style: none; cursor: pointer; }
#pricing .lr-compare-fold > summary::-webkit-details-marker { display: none; }
#pricing .lr-plans-compare .lr-icon { width: 16px; height: 16px; }
#pricing .lr-compare-fold[open] > summary .lr-icon { transform: rotate(180deg); }
:where(.lr-landing-page) #pricing .lr-compare-note { max-width: 880px; margin: 32px auto 0; color: var(--lr-muted); text-align: center; font-size: 12px; line-height: 20px; }
:where(.lr-landing-page) #pricing .lr-compare-note .lr-text-link { display: inline; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; }
:where(.lr-landing-page) #pricing .lr-compare-note .lr-icon { display: inline-block; width: 14px; height: 14px; vertical-align: middle; }

@media (max-width: 1100px) {
    :where(.lr-landing-page) #pricing .lr-h2 { font-size: 32px; line-height: 40px; }
    :where(.lr-landing-page) #pricing .lr-pricing-sub { font-size: 16px; line-height: 24px; }
    :where(.lr-landing-page) #pricing .lr-plan-billing { min-height: 60px; }
}
@media (max-width: 900px) {
    #pricing .lr-plans-offers { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    :where(.lr-landing-page) #pricing .lr-plan { min-height: 0; padding: 20px; }
    :where(.lr-landing-page) #pricing .lr-plan-billing { min-height: 0; }
    :where(.lr-landing-page) #pricing .lr-plan-lead { margin-top: 24px; padding-top: 0; }
    :where(.lr-landing-page) #pricing .lr-compare-title { margin: 64px 0 40px; }
}
@media (max-width: 600px) {
    :where(.lr-landing-page) #pricing { --lr-pricing-columns: repeat(3, minmax(0, 1fr)); }
    :where(.lr-landing-page) #pricing > .lr-container { width: calc(100% - 32px); }
    :where(.lr-landing-page) #pricing .lr-centered { margin-bottom: 32px; }
    :where(.lr-landing-page) #pricing .lr-h2 { font-size: 32px; line-height: 40px; }
    :where(.lr-landing-page) #pricing .lr-period { margin-top: 24px; }
    :where(.lr-landing-page) #pricing .lr-period button { padding-inline: 12px; }
    :where(.lr-landing-page) #pricing .lr-plan { padding: 16px; }
    :where(.lr-landing-page) #pricing .lr-plan-billing { min-height: 40px; }
    :where(.lr-landing-page) #pricing .lr-plans-every { margin-top: 32px; }
    :where(.lr-landing-page) #pricing .lr-compare-title { font-size: 24px; line-height: 32px; }
    #pricing .lr-compare-header > div:first-child { display: none; }
    #pricing .lr-compare-header > .lr-compare-cell { padding-inline: 4px; }
    :where(.lr-landing-page) #pricing .lr-compare-cta { min-height: 44px; padding: 8px 12px; }
    #pricing .lr-compare-label { grid-column: 1 / -1; padding: 16px 0 4px; }
    #pricing .lr-compare-cell { padding: 12px 6px 16px; }
    :where(.lr-landing-page) #pricing .lr-compare-group > div { padding-top: 28px; }
    #pricing .lr-compare-yesline { flex-direction: column; gap: 4px; }
}

/* ── Cursor's layout in our system (Igor 26 Nov «консистентно к нашему дизайну?» → «Да, приведи»): the cards' radius and
   padding as the chapters' cards (16 / 28), the period switch as our segmented controls (radius 6), headings, plan
   names, prices and key lines at our weight 500, badges as ours (radius 6, 500), checks in indigo at 16px, buttons'
   labels at 500 as every button on the page. */
:where(.lr-landing-page) #pricing .lr-plan { padding: 28px; border-radius: 16px; }
:where(.lr-landing-page) #pricing .lr-period { padding: 4px; border-radius: 6px; background: #f1f1f5; }
:where(.lr-landing-page) #pricing .lr-period button { min-height: 38px; border-radius: 6px; }
:where(.lr-landing-page) #pricing .lr-period button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 2px rgb(20 16 60 / .08), 0 0 0 1px rgb(20 16 60 / .04); }
:where(.lr-landing-page) #pricing .lr-period-save { color: #449a6b; }
:where(.lr-landing-page) #pricing :is(.lr-h2, .lr-plan-name, .lr-plan-key-value, .lr-compare-title, .lr-compare-plan) { font-weight: 500; }
:where(.lr-landing-page) #pricing .lr-plan-price b { font-weight: 500; }
:where(.lr-landing-page) #pricing .lr-plan-badge { padding: 4px 8px; border-radius: 6px; font-weight: 500; line-height: 16px; }
:where(.lr-landing-page) #pricing .lr-plan-card-pro .lr-plan-badge { background: var(--lr-accent); color: #fff; }
#pricing .lr-plan-features .lr-compare-yes, :where(.lr-landing-page) #pricing .lr-compare-yes, #pricing .lr-compare-yesline .lr-compare-yes { width: 16px; height: 16px; color: var(--lr-accent); stroke-width: 2; }
:where(.lr-landing-page) #pricing :is(.lr-plan-cta, .lr-compare-cta) { font-weight: 500; }
@media (max-width: 1100px) { :where(.lr-landing-page) #pricing .lr-plan { padding: 20px; } }
@media (max-width: 600px) { :where(.lr-landing-page) #pricing .lr-plan { padding: 20px 16px; } }

/* ── Consistency pass (Igor 26 Nov «проверь страницу и этот блок на консистентность цветов и тд»): one ink #1d1d22 and one
   grey #6b6b75 for text, one money green #2e8550 for text, sizes on the scale; the hero's app picture, the dark statement,
   the closing band, Notion's own page and the firms' marks keep their own colours. Pricing: buttons 48 high like the
   closing band's, the features read in ink like every list on the page. */
:where(.lr-landing-page) #pricing .lr-plan-cta { min-height: 48px; }
#pricing .lr-plan-features li { color: #1d1d22; }
/* the pricing on the page's own grid: the same 1400 container as every section, not Cursor's 1300 */
:where(.lr-landing-page) #pricing > .lr-container { width: min(var(--lr-page), calc(100% - 2 * var(--lr-gutter))); }
/* the comparison starts one step under the cards' foot line, the page's rhythm (80 at 1512, 56 on a phone), not 96 */
:where(.lr-landing-page) #pricing .lr-compare-title { margin-top: var(--lr-space-step); }
/* the comparison's title sits in its header's empty corner, left, on the plans' line (Igor 26 Nov «что оно висит так странно») */
:where(.lr-landing-page) #pricing .lr-compare-table { margin-top: var(--lr-space-step); }
#pricing .lr-compare-corner { display: flex; align-items: flex-end; padding-bottom: 2px; }
:where(.lr-landing-page) #pricing .lr-compare-title { margin: 0; text-align: left; font-size: 24px; line-height: 32px; letter-spacing: -.02em; }
@media (max-width: 600px) {
    #pricing .lr-compare-header > div.lr-compare-corner:first-child { display: block; grid-column: 1 / -1; padding: 0 0 12px; }
    :where(.lr-landing-page) #pricing .lr-compare-title { font-size: 20px; line-height: 28px; }
}

/* ── Chapters felt as sections (Igor 26 Nov «чтобы оно как-то секциями скролл чувствовался но без перебора»):
   a hairline between chapters, and each chapter rises into place once, the first time it comes into view. */
.lr-v5 + .lr-v5 { border-top: 1px solid var(--lr-line); }
@media (prefers-reduced-motion: no-preference) {
    .lr-chapter.lr-ch-wait > * { opacity: 0; transform: translateY(24px); }
    .lr-chapter.lr-ch-in > * { opacity: 1; transform: none; transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
    .lr-chapter.lr-ch-in > * + * { transition-delay: .08s; }
}
/* the hairline between chapters stands in the middle of their gap, not glued under the cards above it
   (Igor 26 Nov «нафига тут линии под блоком?»): 40 above it and 40 below at 1512, 28 and 28 on a phone */
.lr-v5 { padding-bottom: 40px; }
.lr-v5 + .lr-v5 { padding-top: 40px; }
.lr-chapter:last-child { padding-bottom: var(--lr-space-step); }
@media (max-width: 760px) { .lr-v5 { padding-bottom: 28px; } .lr-v5 + .lr-v5 { padding-top: 28px; } .lr-chapter:last-child { padding-bottom: var(--lr-space-step); } }

/* ── Section transitions (Igor 26 Nov «тут явно с отступами что-то не так и переходами»): the chapters' grey ground ends one
   step under the last cards, "Found it online?" starts one step under it, so the change of ground sits in the middle of the
   gap; the light hatch fades in and out at the section's top and bottom instead of starting at a hard edge. */
.lr-every { padding-top: var(--lr-space-step); }
.lr-every::before { -webkit-mask-image: linear-gradient(90deg, #000 0, rgb(0 0 0 / .45) calc(var(--bx-side) * .45), transparent var(--bx-side), transparent calc(100% - var(--bx-side)), rgb(0 0 0 / .45) calc(100% - var(--bx-side) * .45), #000 100%), linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 0, rgb(0 0 0 / .45) calc(var(--bx-side) * .45), transparent var(--bx-side), transparent calc(100% - var(--bx-side)), rgb(0 0 0 / .45) calc(100% - var(--bx-side) * .45), #000 100%), linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%); mask-composite: intersect; }

/* Prop as the account's history, from Pinterest pin 52 «Commit History» (Igor 26 Nov: «найди и не выдумывай» → «52»):
   one line, newest on top; the lost Combine is a pale red branch that ends; Plan v2 is two commits; the failed row is
   hovered and its card says why. Every row is the demo seed's own day; Plan v2's two rules are the plan's own words. */
.lr-bcard-versions .lr-ph { display: flex; flex: 1; flex-direction: column; }
.lr-ph-list { position: relative; flex: 1; padding: 8px 8px 98px; }
.lr-ph-graph { position: absolute; z-index: 1; top: 8px; left: 8px; overflow: visible; }
.lr-ph-main { fill: none; stroke: var(--lr-accent); stroke-width: 1.5; }
.lr-ph-branch { fill: none; stroke: #e6aaa5; stroke-width: 1.5; }
.lr-ph-dot { fill: var(--lr-accent); }
.lr-ph-dot.is-branch { fill: #e6aaa5; }
.lr-ph-dot.is-lost { fill: #c4342d; }
.lr-ph-head { fill: #fff; stroke: var(--lr-accent); stroke-width: 2.5; }
.lr-ph-row { position: relative; display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 12px 0 44px; border-radius: 6px; color: #1d1d22; font-size: 14px; line-height: 20px; }
.lr-ph-row > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-ph-row time { flex: none; color: #6b6b75; font-size: 12px; line-height: 16px; font-variant-numeric: tabular-nums; }
.lr-ph-row em { color: #2e8550; font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.lr-ph-row em.is-loss { color: #c4342d; }
.lr-ph-row.is-branch, .lr-ph-row.is-branch em, .lr-ph-row.is-branch time { color: #a8a8b2; }
.lr-ph-row.is-hover { background: #f3f3f6; }
.lr-ph-pop { position: absolute; z-index: 2; top: calc(8px + 8 * 30px + 4px); left: 60px; display: flex; flex-direction: column; box-sizing: border-box; width: min(272px, calc(100% - 72px)); padding: 12px 14px 0; border: 1px solid #ececf0; border-radius: 12px; background: #fff; box-shadow: 0 12px 28px rgb(29 29 34 / .12), 0 2px 6px rgb(29 29 34 / .05); }
.lr-ph-pop-head { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; white-space: nowrap; }
.lr-ph-pop-head .lr-logo { flex: none; }
.lr-ph-pop-head b { color: #1d1d22; font-weight: 500; }
.lr-ph-pop-head span { color: #6b6b75; }
.lr-ph-pop-text b { font-weight: 400; white-space: nowrap; }
.lr-ph-pop-text { margin: 6px 0 12px; color: #1d1d22; font-size: 14px; line-height: 20px; text-wrap: pretty; }
.lr-ph-pop-foot { display: flex; align-items: center; gap: 8px; margin: 0 -14px; padding: 10px 14px; border-top: 1px solid #f0f0f4; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-ph-pop-foot em { color: #c4342d; font-style: normal; font-weight: 500; }
.lr-ph-pop-foot .lr-icon { width: 16px; height: 16px; margin-left: auto; }
.lr-ph-cursor { position: absolute; z-index: 3; top: calc(8px + 7 * 30px + 13px); left: 128px; }
@media (min-width: 561px) and (max-width: 1439px) {
    .lr-bcard-versions > .lr-bstage { padding: 24px; }
    .lr-bcard-versions .lr-ph { width: 100%; max-width: 600px; margin-inline: auto; }
}
@media (max-width: 1439px) { .lr-ph-list { padding-bottom: 108px; } }
/* The row Prop shares with Replay a little lower (Igor 26 Nov «может чуть ниже сделать?» → «уплотнить либо убрать 1 ряд»):
   Replay's cells 44 → 36 and their rows' padding 6 → 4, the same six programmes and words. */
@media (min-width: 1440px) {
    .lr-bcard-replay .lr-mx tbody i { height: 36px; }
    .lr-bcard-replay .lr-mx :is(td, tbody th) { padding-block: 4px; }
}
/* Replay's answer sits on its table: one 16px step between the answer and the months, not 16 + 16 (Igor 26 Nov
   «вот под ним и над датами смотри места только»); Prop's history rows 32 → 30 so the row stays level. */
.lr-bcard-replay .lr-mx-wrap { margin-top: 0; }

/* The idea sheet's top line on one left edge, clear of the folded corner, and each sheet says what kind of edge it is
   (Igor 26 Nov «это выравняй и давай разнообразим, напишем привычка например?»): the X-ray finding's own dimension in a
   trader's word — Plan adherence → Habit, Trade of the day → Timing, Setup → Setup. */
.lr-idea-top { justify-content: flex-start; align-items: center; gap: 8px; padding-right: 24px; }

/* "Your words, with a price" from Pinterest pin 151 (Igor 26 Nov «тут норм или дефолт?… заглянуть в пинтерест» → «151»):
   the raw voice note as a dark capsule — its wave with the said part bright, the spoken words under it with the sentence
   lit — and under it, overlapping, the clean result on an indigo pill; the price as the card's foot. Words are the trade's
   own note (Oct 1, NQ, 0:11); the theme and its figures are XrayState's "Chasing the move" on the demo's trades. */
.lr-bcard-words > .lr-vn-stage { display: flex; flex-direction: column; justify-content: center; padding: 24px 20px 20px; background: #f5f5f6; }
.lr-vn { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border: 1px solid #34333f; border-radius: 12px; background: #1d1d22; color: #8f8ca6; box-shadow: var(--lr-float-shadow); }
.lr-vn-rec { display: flex; align-items: center; gap: 14px; }
.lr-vn-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #c1bbee; }
.lr-vn-rec em { flex: none; color: #d3cfeb; font-size: 12px; font-style: normal; line-height: 16px; font-variant-numeric: tabular-nums; }
.lr-vn-wave { display: flex; flex: 1; align-items: center; justify-content: space-between; min-width: 0; height: 44px; overflow: hidden; }
.lr-vn-wave i { flex: none; width: 2px; height: calc(var(--h) * 100%); min-height: 4px; border-radius: 2px; background: #c1bbee; }
.lr-vn-wave i.is-played { background: var(--lr-accent); }
.lr-vn-words { color: #8f8ca6; font-size: 14px; line-height: 22px; }
.lr-vn-words b { color: #fff; font-weight: 500; }
.lr-vn-words i { display: inline-block; margin-right: 4px; padding: 0 8px; border-radius: 6px; background: #34313f; color: #e6e4ef; font-size: 12px; font-style: normal; font-weight: 500; line-height: 22px; }
.lr-vn-out { position: relative; z-index: 2; align-self: flex-end; width: calc(100% - 28px); box-sizing: border-box; margin-top: -14px; padding: 14px 18px; border-radius: 12px; background: linear-gradient(120deg, #a29ae2, #6c62cf); box-shadow: 0 14px 28px rgb(68 58 184 / .28); color: #fff; font-size: 16px; font-weight: 500; line-height: 22px; text-wrap: balance; }
.lr-vn-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 18px; color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-vn-sum > b { color: #c4342d; font-size: 24px; font-weight: 600; line-height: 32px; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.lr-vn-sum em { flex-basis: 100%; font-style: normal; }
.lr-vn-sum em b { color: #2e8550; font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 560px) { .lr-bcard-staged.lr-bcard-words > .lr-bstage.lr-vn-stage { padding: 20px 16px 20px; background: #f5f5f6; } }

/* The idea sheets' equity curves (Igor 26 Nov «стоит ли тут дать что-то сразу трейдерское?» → «Да, вариант» → «Ставь кривые»): each idea's equity curve, trade by
   trade from its first trade, in place of the month bars. The demo's own trades (the X-ray finding's trade ids); x is the
   calendar, Apr – Nov, the same for the three sheets; each sheet on its own scale; months as hairlines. */
.lr-idea-curve { position: relative; display: block; flex: 1; min-height: 56px; margin-top: 12px; }
.lr-idea-curve svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.lr-ic-month { stroke: #f0f0f4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.lr-ic-zero { stroke: #dcdce4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.lr-ic-area { fill: #449a6b; fill-opacity: .12; }
.lr-ic-area.is-down { fill: #c4342d; }
.lr-ic-line { fill: none; stroke: #449a6b; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lr-idea-curve i { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #449a6b; box-shadow: 0 0 0 2px #fff; }

/* Trading Day, three small fixes (Igor 26 Nov «тут ничего под pinterest идеи не меняем?» → «Да, поправь»): the rule's row
   is one 48px line, not the card's spare height — that goes to the sessions, whose two lanes sit in its middle; the news
   marks in the page's ink, not ochre; the foot keeps only the estimate's label. */
.lr-dayb-row.is-plan { flex: none; min-height: 0; height: 48px; }
.lr-dayb-row.is-markets { flex: 1 0 auto; min-height: 72px; }
.lr-dayb-bar { top: calc(50% - 26px + var(--l) * 28px); }
.lr-dayb-news i { background: #1d1d22; }


/* "Your voice, written down" shows the note's fourth part, its Lesson (the demo note has it; the page dropped it), and the
   four parts sit 12px apart so the note and Review beside it are one height, with no empty foot in either
   (Igor 26 Nov «там внизу пусто глянь», «пусто»). For the port: $sayNote keeps "Lesson" (its bullet dropped). */
.lr-bcard-notes .lr-editor-body { padding-bottom: 16px; }
.lr-bcard-notes .lr-editor-body b { margin-top: 12px; }
.lr-bcard-notes .lr-editor-body b:first-child { margin-top: 0; }

/* "Import it again" from Pinterest pin 99 (an upload window: a drop area, then each file a row with its own result) and
   "Fees, included" from pin 83 (a waterfall from gross to net) — Igor 26 Nov «99 и 83», «но они выше будут видимо»: the
   cards keep their height. Data: the demo's own October import (89 rows, 44 trades) and November (84 rows, 42 trades);
   October's gross by week, the month's fees, the net, to the cent. */
.lr-ag { gap: 8px; }
.lr-ag-drop { display: flex; align-items: center; gap: 8px; box-sizing: border-box; height: 44px; padding: 0 12px; border: 1px dashed #cfcfd8; border-radius: 12px; background: #fafafb; color: #6b6b75; font-size: 14px; line-height: 20px; white-space: nowrap; }
.lr-ag-drop .lr-icon { width: 16px; height: 16px; color: var(--lr-accent); }
.lr-ag-drop b { color: #1d1d22; font-weight: 500; }
.lr-ag-drop small { overflow: hidden; font-size: 12px; text-overflow: ellipsis; }
.lr-ag-file { position: relative; display: flex; align-items: center; gap: 12px; box-sizing: border-box; min-height: 56px; padding: 8px 12px; border: 1px solid #ececf0; border-radius: 12px; background: #fff; overflow: hidden; }
.lr-ag-file > i { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: #f1f1f4; color: #6b6b75; }
.lr-ag-file > i .lr-icon { width: 16px; height: 16px; }
.lr-ag-file.is-new > i { background: #ecebf5; color: var(--lr-accent); }
.lr-ag-file > span { display: flex; flex-direction: column; min-width: 0; }
.lr-ag-file b { overflow: hidden; color: #1d1d22; font-size: 14px; font-weight: 500; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.lr-ag-file small { overflow: hidden; color: #6b6b75; font-size: 12px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.lr-ag-file em { display: inline-flex; align-items: center; gap: 4px; color: #6b6b75; font-style: normal; }
.lr-ag-file em .lr-icon { width: 12px; height: 12px; }
.lr-ag-file.is-new em { color: var(--lr-accent); font-weight: 500; }
.lr-ag-file u { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--lr-accent); text-decoration: none; }
.lr-wf { gap: 6px; }
.lr-wf-chart { position: relative; display: block; flex: 1; min-height: 120px; margin-top: 22px; }
.lr-wf-chart svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.lr-wf-zero { stroke: #dcdce4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.lr-wf-conn line { stroke: #b9b9c3; stroke-width: 1; stroke-dasharray: 2 2; vector-effect: non-scaling-stroke; }
.lr-wf-chart rect { rx: .6; }
.lr-wf-chart .is-up { fill: #a9d3ba; }
.lr-wf-chart .is-down { fill: #eab0ac; }
.lr-wf-chart .is-fee { fill: #c4342d; }
.lr-wf-chart .is-net { fill: #449a6b; }
.lr-wf-chart em { position: absolute; z-index: 1; margin-top: -22px; padding: 0 6px; border-radius: 6px; color: #6b6b75; font-size: 12px; font-style: normal; font-weight: 500; line-height: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; transform: translateX(-50%); }
.lr-wf-chart em.is-fee { background: #c4342d; color: #fff; }
.lr-wf-chart em.is-net { background: #449a6b; color: #fff; }
.lr-wf-x { position: relative; display: block; height: 16px; }
.lr-wf-x small { position: absolute; top: 0; color: #6b6b75; font-size: 12px; line-height: 16px; white-space: nowrap; transform: translateX(-50%); }
@media (max-width: 560px) {
    .lr-wf-chart em.is-up, .lr-wf-chart em.is-down { display: none; }
    .lr-wf-x small:nth-child(2), .lr-wf-x small:nth-child(4) { display: none; }
}

.lr-ag { gap: 6px; }
.lr-ag-drop { height: 40px; }
.lr-ag-file { min-height: 48px; padding: 6px 12px; }
.lr-ag-file > i { width: 28px; height: 28px; }
.lr-wf-chart em.is-net { margin-top: 6px; }
.lr-bcard-again .lr-ag, .lr-bcard-fees .lr-wf { padding-block: 12px; }
.lr-ag { gap: 4px; }
.lr-ag-drop { height: 36px; }
.lr-ag-file { min-height: 44px; padding: 4px 12px; }
.lr-wf-chart { min-height: 96px; margin-top: 18px; }
.lr-wf-chart em small { font-size: inherit; }
@media (max-width: 560px) { .lr-wf-chart em.is-net small { display: none; } }

.lr-wf-chart em.is-up, .lr-wf-chart em.is-down { padding: 0 2px; }
.lr-wf-chart em.is-under { margin-top: 6px; }
@media (max-width: 560px) { .lr-wf-chart em.is-under { transform: translateX(-88%); } }
.lr-ag-file > span { flex: 1; }
.lr-ag-rows { flex: none; margin-left: auto; color: #6b6b75; font-size: 12px; line-height: 16px; white-space: nowrap; }

.lr-ag-file small:not(.lr-ag-rows) { overflow: visible; white-space: normal; text-overflow: clip; }
.lr-ag-file em { display: inline; }
.lr-ag-file em .lr-icon { margin-right: 4px; vertical-align: -1px; }
.lr-ag-file em .lr-icon { display: inline-block; }
@media (min-width: 561px) and (max-width: 1100px) { .lr-ag-rows { display: none; } }

/* Pin 99 in its own proportions (Igor 26 Nov «это плохо», «сплюснуто»): the drop area a real area with its icon in the
   middle, each file a roomy row, the new file's bar inside its row under the status, as the pin draws its upload. */
.lr-bcard-again .lr-ag { gap: 8px; padding-block: 16px; }
.lr-ag-drop { flex-direction: column; justify-content: center; gap: 4px; height: 76px; padding: 0 12px; }
.lr-ag-drop .lr-icon { width: 20px; height: 20px; }
.lr-ag-drop b { font-size: 14px; }
.lr-ag-file { align-items: flex-start; gap: 12px; min-height: 60px; padding: 10px 12px; }
.lr-ag-file > i { width: 36px; height: 36px; }
.lr-ag-file > i .lr-icon { width: 18px; height: 18px; }
.lr-ag-rows { align-self: center; }
.lr-ag-file u { position: static; display: block; height: 4px; margin-top: 8px; border-radius: 2px; }
.lr-bcard-fees .lr-wf { padding-block: 16px; }
/* The journal's count in the window's bar, not a footer of its own (Igor 26 Nov «это убери и поставь результат в верхнюю
   шапку. нафиг растягивать изза этого бесполезного»); the new file's bar gone («убери линию»). */
.lr-again .lr-win-bar > span:last-child b { color: #1d1d22; font-weight: 600; }

.lr-again .lr-win-bar > span:last-child { gap: 4px; }

/* Replay from the owner's reference 35 (`landing-2026-11-26-astra-v2/refs/35`, «Purchase orders»; Igor 26 Nov «в проекте глянь»
   → «Да, делай»): the answer and its chip in the head, the two ways as tabs with their counts, one row a programme — its
   name, kind and median — a bar to its median day with a ring on the end over a pale bar to its slowest pass, a dashed
   "30 days" mark through the rows, the count of passes on the right, a legend line with the estimate's label. The engine's
   own figures (data-views), as the table had them. */
.lr-bcard-replay > .lr-bstage > .lr-rp { display: flex; flex-direction: column; padding: 0; }
.lr-rp-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px 12px; }
.lr-rp-ico { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: #f1f1f4; color: #6b6b75; }
.lr-rp-ico .lr-icon { width: 18px; height: 18px; }
.lr-rp-head > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.lr-rp-head b { color: #1d1d22; font-size: 16px; font-weight: 600; line-height: 24px; }
.lr-rp-head small { color: #6b6b75; font-size: 14px; line-height: 20px; }
.lr-rp-head > em { flex: none; margin-left: auto; padding: 2px 8px; border-radius: 6px; background: #ecebf5; color: var(--lr-accent); font-size: 12px; font-style: normal; line-height: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lr-rp-head > em b { color: inherit; font-size: inherit; font-weight: 600; line-height: inherit; }
.lr-rp-tabs { display: flex; gap: 20px; padding: 0 20px; border-bottom: 1px solid #ececf0; }
.lr-rp-tabs button { position: relative; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0; border: 0; background: none; color: #6b6b75; font: inherit; font-size: 14px; cursor: pointer; }
.lr-rp-tabs button span { color: #9a9aa3; font-variant-numeric: tabular-nums; }
.lr-rp-tabs button[aria-pressed="true"] { color: #1d1d22; font-weight: 500; }
.lr-rp-tabs button[aria-pressed="true"] span { color: var(--lr-accent); }
.lr-rp-tabs button[aria-pressed="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--lr-accent); }
.lr-rp-axis, .lr-rp-row { display: grid; grid-template-columns: 168px minmax(0, 1fr) 64px; align-items: center; column-gap: 16px; padding: 0 20px; }
.lr-rp-axis { height: 36px; color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-rp-axis > span:last-child, .lr-rp-row .lr-rp-n { text-align: right; }
.lr-rp-scale { position: relative; height: 16px; }
.lr-rp-scale i { position: absolute; top: 0; font-style: normal; white-space: nowrap; transform: translateX(-50%); }
.lr-rp-scale i:first-child { transform: none; }
.lr-rp-scale b { position: absolute; top: -2px; padding: 0 6px; border-radius: 4px; background: var(--lr-accent); color: #fff; font-weight: 500; line-height: 20px; white-space: nowrap; transform: translateX(-50%); }
.lr-rp-rows { position: relative; flex: 1; }
.lr-rp-today { position: absolute; top: 0; bottom: 0; left: calc(20px + 168px + 16px + (100% - 40px - 168px - 64px - 32px) * .75); border-left: 1px dashed var(--lr-accent); opacity: .7; }
.lr-rp-row { position: relative; height: 52px; border-top: 1px solid #f0f0f4; }
.lr-rp-row.is-on { background: #f6f5fd; }
.lr-rp-firm { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lr-rp-firm > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.lr-rp-firm b { overflow: hidden; color: #1d1d22; font-size: 14px; font-weight: 500; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.lr-rp-firm small { color: #6b6b75; font-size: 12px; line-height: 16px; white-space: nowrap; }
.lr-rp-firm small em { color: #1d1d22; font-style: normal; font-variant-numeric: tabular-nums; }
.lr-rp-track { position: relative; height: 10px; }
.lr-rp-track i { position: absolute; top: 2px; left: 0; height: 6px; border-radius: 3px; transition: width .3s var(--lr-ease, ease); }
.lr-rp-slow { background: #dcd9f3; }
.lr-rp-med { background: var(--lr-accent); }
.lr-rp-track u { position: absolute; top: -1px; width: 12px; height: 12px; margin-left: -6px; box-sizing: border-box; border: 2px solid var(--lr-accent); border-radius: 50%; background: #fff; text-decoration: none; transition: left .3s var(--lr-ease, ease); }
.lr-rp-n { color: #1d1d22; font-size: 14px; font-weight: 600; line-height: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lr-rp-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 12px 20px 16px; border-top: 1px solid #ececf0; color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-rp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lr-rp-legend i { display: inline-block; width: 16px; height: 6px; border-radius: 3px; }
.lr-rp-legend i.is-med { background: var(--lr-accent); }
.lr-rp-legend i.is-slow { background: #dcd9f3; }
.lr-rp-legend em { margin-left: auto; font-style: normal; }
@media (max-width: 560px) {
    .lr-rp-head { padding: 14px 16px 10px; flex-wrap: wrap; }
    .lr-rp-head > em { margin-left: 48px; }
    .lr-rp-tabs { padding: 0 16px; }
    .lr-rp-axis, .lr-rp-row { grid-template-columns: 112px minmax(0, 1fr) 44px; column-gap: 10px; padding: 0 16px; }
    .lr-rp-today { left: calc(16px + 112px + 10px + (100% - 32px - 112px - 44px - 20px) * .75); }
    .lr-rp-firm .lr-firm-tile { display: none; }
    .lr-rp-scale i:not(:first-child):not(:last-of-type) { display: none; }
    .lr-rp-legend em { margin-left: 0; }
}

.lr-rp-today { z-index: 1; }
.lr-rp-row { height: 44px; }
.lr-rp-head { padding: 14px 20px 8px; }
.lr-rp-axis { height: 32px; }
.lr-rp-legend { padding: 10px 20px 12px; }

/* "No export? Drop a screenshot." from the owner's reference 06 (outcome cards over a table with status pills; Igor 26 Nov
   «тут вообще можно было сделать что мы по картинке умеем читать сделки» → «Да, делай»): what the import read from a
   TopstepX Trades screenshot — counts on top, the rows with their status, the screenshot's total checked at the foot.
   The feature is the app's (api/screenshot-read.php, the import's own review); the rows are the demo's Topstep 50K trades. */
.lr-sc .lr-win-body { gap: 12px; padding: 14px 16px; }
.lr-sc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #e4e4ea; border-radius: 12px; overflow: hidden; }
.lr-sc-kpis > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 12px; }
.lr-sc-kpis > span + span { border-left: 1px solid #ececf0; }
.lr-sc-kpis small { color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-sc-kpis b { display: flex; align-items: center; gap: 6px; color: #1d1d22; font-size: 20px; font-weight: 600; line-height: 28px; font-variant-numeric: tabular-nums; }
.lr-sc-kpis b .lr-icon { width: 16px; height: 16px; color: #9a9aa3; }
.lr-sc-kpis b.is-new .lr-icon { color: var(--lr-accent); }
.lr-sc-kpis em { overflow: hidden; color: #6b6b75; font-size: 12px; font-style: normal; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.lr-sc-table { display: flex; flex-direction: column; }
.lr-sc-tr { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr) 76px; align-items: center; column-gap: 10px; min-height: 40px; border-top: 1px solid #f0f0f4; font-size: 14px; line-height: 20px; }
.lr-sc-tr.is-head { min-height: 28px; border-top: 0; background: #f7f7f9; border-radius: 6px; padding: 0 8px; margin: 0 -8px; color: #6b6b75; font-size: 12px; line-height: 16px; }
.lr-sc-tr > :last-child { text-align: right; }
.lr-sc-sym { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lr-sc-sym > i { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: #1d1d22; color: #fff; font-size: 12px; font-style: normal; font-weight: 600; }
.lr-sc-sym > span { display: flex; flex-direction: column; min-width: 0; }
.lr-sc-sym b { display: none; }
.lr-sc-sym small { color: #1d1d22; font-size: 14px; line-height: 20px; }
.lr-sc-tr > small { color: #6b6b75; font-size: 12px; line-height: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lr-sc-pill { display: inline-flex; align-items: center; justify-self: start; gap: 4px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; line-height: 24px; white-space: nowrap; }
.lr-sc-pill .lr-icon { width: 12px; height: 12px; }
.lr-sc-pill.is-new { background: #ecebf5; color: var(--lr-accent); }
.lr-sc-pill.is-here { background: #f1f1f4; color: #6b6b75; }
.lr-sc-tr em { color: #2e8550; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lr-sc-tr em.is-loss { color: #c4342d; }
.lr-sc .lr-win-foot b { color: #1d1d22; font-weight: 600; }
.lr-sc-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--lr-accent); font-weight: 500; }
.lr-sc-ok .lr-icon { width: 12px; height: 12px; }
@media (max-width: 560px) {
    .lr-sc-kpis em { display: none; }
    .lr-sc-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 72px; }
    .lr-sc-tr > small { display: none; }
}

.lr-sc-tr { min-height: 36px; }
.lr-sc .lr-win-body { gap: 10px; padding: 12px 16px; }
@media (max-width: 1100px) {
    .lr-sc-kpis em { display: none; }
    .lr-sc-kpis small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .lr-sc-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 76px; }
    .lr-sc-tr > small, .lr-sc-tr.is-head > span:nth-child(2) { display: none; }
    .lr-sc .lr-win-foot { flex-wrap: wrap; gap: 4px 12px; padding-block: 8px; white-space: normal; }
}
@media (max-width: 560px) {
    .lr-rp-ico { display: none; }
    .lr-rp-head > em { margin-left: 0; }
    .lr-rp-scale i:last-of-type { display: none; }
}
@media (max-width: 1100px) { .lr-sc-tr { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) 76px; } }

/* The two Notion cards tidied (Igor 26 Nov «это причесать не надо?» → «ставь то»). Where they share a row: */
@media (min-width: 1240px) {
    /* both heads in two lines, title over its grey half, the first lines on one line across the row */
    .lr-bcard-notion .lr-bcard-title span { display: block; }
    /* both are Notion: one ground */
    .lr-bcard-bridge > .lr-bstage { background: #f2f1ee; }
}
@media (min-width: 1440px) {
    /* both windows on one top and one bottom: the same stage padding; the map's rows 2 px closer so the row keeps its height */
    .lr-bcard-bridge > .lr-bstage { padding: 24px 16px; }
    .lr-bcard-bridge .lr-nb-list { grid-template-rows: repeat(8, minmax(42px, 1fr)); }
    /* the TSB widgets inside the page's own edges: from the tabs to the table's last line, 16 px from the window's
       edge like the table on the left, the same 12 px inside on every side */
    .lr-bcard-notion .lr-nw-row { grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; }
    .lr-bcard-notion .lr-nw-col { margin: 0; }
    .lr-bcard-notion .lr-nw-col .lr-nw-w { flex: 1; }
}

/* Setups tidied (Igor 26 Nov «тут?» → «Ставь оба»): the rule sheet lies straight (its text was tilted 1°), from the list's top to
   its last bar, its right edge on the window's content edge; still 12 px over the chart's column. */
.lr-bcard-setups .lr-home-sheet { align-self: stretch; transform: none; }
.lr-bcard-setups .lr-home-pays { margin-top: auto; }
@media (max-width: 560px) { .lr-bcard-setups .lr-home-sheet { align-self: auto; } }

/* Three-width pass (Igor 26 Nov «давай на 3 экранах проверим»): what the 1512 / 768 / 390 check found. */
/* Fees at 768 and in any narrow card: the labels collided («+$2,8$297.50», "Oct 12Oct 19Oct 26"); the phone's quiet form
   (no weekly pills, every other week's date, no cents on Net, the fee's pill off its bar) wherever the card is under
   1440's width (1280 collided too). */
@media (max-width: 1439px) {
    .lr-wf-chart em.is-up, .lr-wf-chart em.is-down { display: none; }
    .lr-wf-x small:nth-child(2), .lr-wf-x small:nth-child(4) { display: none; }
    .lr-wf-chart em.is-net small { display: none; }
    .lr-wf-chart em.is-under { transform: translateX(-88%); }
}
/* the screenshot's counts: "Already here" whole, its cell a little wider */
@media (max-width: 1100px) { .lr-sc-kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); } }
/* the Notion table on a phone: no page icon in the Trade column, so "ES short" reads whole */
@media (max-width: 560px) { .lr-bcard-notion .lr-nw-tr .lr-icon { display: none; } }
/* a card's grey half, the trust line and the footer's line wrap in even lines, never one word alone */
.lr-bcard-title.lr-bcard-line > span, .lr-proof-trust li, :where(.lr-landing-page) .lr-footer-brand p { text-wrap: balance; }
/* the questions start on the heading's edge (they sat 2 px in) */
:where(.lr-landing-page) .lr-faq-item summary { padding-inline: 0; }
:where(.lr-landing-page) .lr-faq-item p { padding-left: 0; }

/* "Trades come in from" on tablets and phones: one row of marks moving slowly, not two or four rows (Igor 26 Nov «слайдером
   сделать?» → «Ставь»). The "+131 more" stands still under it. On a wide screen the row fits and stands as it was. */
.lr-sources-row .is-copy, .lr-sources-more-line { display: none; }
@media (max-width: 1360px) {
    /* the row runs from the screen's edge to the screen's edge, not cut at the page's gutter */
    .lr-sources-view { margin: 22px calc(-1 * var(--lr-gutter)) 0; overflow: hidden; }
    .lr-sources-view .lr-sources-row { display: flex; flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 40px; margin: 0; padding: 0; animation: lr-sources-run 40s linear infinite; }
    .lr-sources-view .lr-sources-row .is-copy { display: flex; }
    .lr-sources-view .lr-sources-more { display: none; }
    .lr-sources-view:hover .lr-sources-row { animation-play-state: paused; }
    .lr-sources-more-line { display: block; margin-top: 16px; font-size: 14px; }
    .lr-sources-more-line a { color: var(--lr-muted); }
    .lr-sources-more-line a:hover { color: var(--lr-accent); }
    .lr-sources-more-line + .lr-sources-proof { margin-top: 4px; }
}
@media (max-width: 760px) { .lr-sources-view .lr-sources-row { gap: 32px; animation-duration: 32s; } }
@keyframes lr-sources-run { to { transform: translateX(calc(-50% - 20px)); } }
@media (max-width: 760px) { @keyframes lr-sources-run { to { transform: translateX(calc(-50% - 16px)); } } }
@media (prefers-reduced-motion: reduce) {
    .lr-sources-view { overflow-x: auto; scrollbar-width: none; }
    .lr-sources-view .lr-sources-row { animation: none; }
    .lr-sources-view .lr-sources-row .is-copy { display: none; }
}

/* Tablets and phones: the four cards that repeat a neighbour stay off (Igor 26 Nov «на планшетах много блоков, может имеет
   смысл скрывать самые слабые?» → all four, tablet and phone). Every chapter keeps its strong card. */
@media (max-width: 1100px) {
    .lr-bcard-ways, .lr-bcard-synced, .lr-bcard-bridge, .lr-bcard-fees { display: none; }
    .lr-bento-checked > .lr-bcard-shot { grid-column: 1 / -1; }
}

/* Phones: the technical chapter and Prop's history stay off too (Igor 26 Nov «на мобилах может еще пару блоков убрать?»
   → «Глава Checked целиком», «Keep what changed.», «технических»). Import stays in "Start with your broker", Prop in
   "Replay before you pay." */
@media (max-width: 560px) {
    #checked, .lr-index a[data-lr-index-link="checked"], .lr-index li:has(> a[data-lr-index-link="checked"]) { display: none; }
    .lr-bcard-versions { display: none; }
}
/* Replay on a phone keeps the firms' logos (Igor 26 Nov «и блок пропов растерял свой прикол, лого нет»): a 24 px tile,
   the name, and the median days; the programme's type ("1-Step") stays for the wider screens. */
@media (max-width: 560px) {
    .lr-rp-axis, .lr-rp-row { grid-template-columns: 138px minmax(0, 1fr) 44px; }
    .lr-rp-today { left: calc(16px + 138px + 10px + (100% - 32px - 138px - 44px - 20px) * .75); }
    .lr-rp-firm { gap: 8px; }
    .lr-rp-firm .lr-firm-tile { display: grid; width: 24px; height: 24px; }
    .lr-rp-firm .lr-firm-tile img { width: 16px; height: 16px; }
    .lr-rp-type { display: none; }
}

/* Two cards in one row start their windows on one line: where one head takes two lines, its neighbour's head does too
   (the same rule as the Notion row; Igor 26 Nov «колонки разные по ширине» → «норм»). */
@media (min-width: 1440px) {
    :is(.lr-bento-well, .lr-bento-day) > .lr-bcard .lr-bcard-title.lr-bcard-line > span { display: block; }
}
@media (min-width: 1240px) and (max-width: 1439px) {
    .lr-bento-checked > :is(.lr-bcard-shot, .lr-bcard-fees) .lr-bcard-title.lr-bcard-line > span { display: block; }
}
