/* /notion-template since 28 Nov 2026 (Igor «может notion страницу не стоило сильно менять по сравнению с продовой версией,
   просто привести к нашим стилям» → «Да, прод в наших стилях»): production's page and order in the release's language.
   Taken from the block-by-block copy of 27 Nov (docs/product/design/notion-template-2026-11-27/): the accepted first
   screen (1) and the import path (2), the core system as prod's five tabs (3); the template's own screenshots in the
   tabs, the modules and the AI block (the code-drawn stand-ins were rejected: «нет… как пропал вообще весь стиль»).
   Loaded only on this page, after assets/public-products.css. */

/* Block by block with Igor (27 Nov «notion пределагаю переделывать поблочно вместе со мной»), copy only. */
/* 1. First screen: the landing's display heading in sentence case, the real Notion mark in the pill, a two-line lead,
   and the template shown whole in a Notion window on Notion's warm ground (as "Keep your Notion." on the landing). */
.pp-title.lr-display { max-width: 1040px; font-size: clamp(40px, 4.6vw, 68px); }
.pp-lead-text { max-width: 620px; color: #6b6b75; }
.pp-art-win { background: #f2f1ee; padding: clamp(16px, 3vw, 40px); }
.pp-win { overflow: hidden; border: 1px solid #e6e5e1; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgb(29 29 34 / .04), 0 12px 32px -12px rgb(29 29 34 / .12); }
.pp-win-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid #ededeb; color: #8f8e8a; font-size: 14px; line-height: 20px; white-space: nowrap; }
.pp-win-bar img { width: 18px; height: 18px; }
.pp-win-bar i { font-style: normal; }
.pp-win-bar b { overflow: hidden; color: #37352f; font-weight: 500; text-overflow: ellipsis; }
.pp-art-win .pp-win > img { display: block; width: 100%; height: auto; border-radius: 0; }
/* The dashboard is the template's own page frozen off notion.site (includes/notion-template-frames.php), its charts our live
   widgets; drawn at Notion's 1333px and scaled to the window like a screenshot (assets/notion-template.js sets --k). */
.pp-nf-fit { position: relative; overflow: hidden; aspect-ratio: 1333 / 760; }
.pp-nf-fit > .nf { position: absolute; top: 0; left: 0; transform: translate(var(--nf-x, 0px), var(--nf-y, 0px)) scale(var(--k, 1)); transform-origin: 0 0; }
/* The first screen starts 64 under the header like the accepted /supported-brokers (it was 88; Igor 27 Nov «отступы от шапки, норм?»). */
.pp-hero { padding-top: 64px; }
@media (max-width: 760px) { .pp-hero { padding-top: 40px; padding-bottom: 24px; } } /* no hole under the proof list (Igor 29 Nov «дырка ниже») */

/* 1, from the prod page that sold (Igor 27 Nov «ты продовый лендинг видел? он продавал неплохо» → «Да, начинай»): proof over the
   heading (the reviewers' faces, the rating), the lead with its point in ink, three benefits before the template, and the
   proof strip under it (Certified Notion Creator, the rating, the offer). Prod's light/dark slider stays out: no dark template. */
.pp-proof { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: #6b6b75; font-size: 14px; line-height: 20px; }
.pp-avatars { display: inline-flex; }
.pp-avatars img { width: 32px; height: 32px; margin-left: -8px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; background: #eeeef2; }
.pp-avatars img:first-child { margin-left: 0; }
.pp-stars { color: #f2b01e; font-size: 16px; letter-spacing: 1px; }
.pp-hero .pp-proof + .pp-title { margin-top: 20px; }
.pp-lead-text b { color: var(--lr-ink); font-weight: 500; }
.pp-lead-text { max-width: 700px; }
.pp-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 32px; }
.pp-benefits li { display: flex; align-items: center; gap: 12px; text-align: left; }
.pp-benefits .lr-icon { flex: none; width: 20px; height: 20px; color: var(--lr-accent); }
.pp-benefits b, .pp-proofbar b { display: block; color: var(--lr-ink); font-size: 14px; font-weight: 500; line-height: 20px; }
.pp-benefits small, .pp-proofbar small { display: block; color: #6b6b75; font-size: 12px; line-height: 16px; }
/* The proof strip under the template's card (Igor 28 Nov «что тут по отступам и секциям? и скруглениями?»): 24 under the
   card, no line of its own (the section's hairline follows: no double lines), the first mark on the window's left edge. */
.pp-proofbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; margin: 24px auto 0; }
.pp-proofbar li { display: flex; align-items: center; gap: 14px; padding: 16px clamp(16px, 3vw, 40px); }
.pp-proofbar li + li { border-left: 1px solid var(--lr-line); }
.pp-proofbar-icon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border: 1px solid #e6e6ec; border-radius: 12px; background: #fff; color: var(--lr-accent); }
.pp-proofbar-icon .lr-icon { width: 20px; height: 20px; }
.pp-proofbar-icon.is-notion img { width: 24px; height: 24px; }
@media (max-width: 900px) {
    .pp-proofbar { grid-template-columns: minmax(0, 1fr); }
    .pp-proofbar li { padding: 14px 0; }
    .pp-proofbar li:first-child { padding-top: 0; }
    .pp-proofbar li + li { border-left: 0; border-top: 1px solid var(--lr-line); }
}
@media (max-width: 560px) {
    .pp-benefits { flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; max-width: 320px; margin-inline: auto; }
}
@media (max-width: 560px) {
    .pp-proof { flex-wrap: wrap; justify-content: center; gap: 6px 8px; }
    .pp-proof > span:last-child { flex-basis: 100%; white-space: nowrap; }
}

/* 2, from prod ("Why this is not a cheap static template"): the promise, the import → journal → charts path on one dark card
   (the landing's dark: ink ground, lavender numbers), and the first price strip after it, as prod repeats it after each part. */
.pp-kicker { margin: 0 0 12px; color: var(--lr-accent); font: 600 14px/20px var(--lr-font); }
.pp-why .pp-why-sub { max-width: 720px; margin-top: 16px; color: #6b6b75; font-size: 18px; line-height: 28px; text-wrap: pretty; }
.pp-flowcard { margin-top: 40px; padding: 32px; border-radius: 16px; background: #121322; color: #fff; }
.pp-flowcard-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.pp-flowcard .pp-kicker { color: #a29ae2; }
.pp-flowcard-head h3 { color: #fff; font-size: 32px; font-weight: 500; line-height: 40px; letter-spacing: -0.02em; text-wrap: balance; }
.pp-flowcard-head > p { color: rgb(255 255 255 / .64); font-size: 16px; line-height: 24px; }
.pp-flowcard-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.pp-flowcard-steps li { display: flex; flex-direction: column; padding: 24px 24px 0; }
.pp-flowcard-steps li:first-child { padding-left: 0; }
.pp-flowcard-steps li + li { border-left: 1px solid rgb(255 255 255 / .12); }
.pp-flowcard-no { color: #a29ae2; font: 600 14px/20px var(--lr-font); font-variant-numeric: tabular-nums; }
.pp-flowcard-steps h4 { margin-top: 8px; color: #fff; font-size: 16px; font-weight: 500; line-height: 24px; }
.pp-flowcard-steps p { flex: 1; margin-top: 8px; color: rgb(255 255 255 / .6); font-size: 14px; line-height: 20px; }
.pp-flowcard-steps em { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .12); color: #fff; font-size: 14px; font-style: normal; font-weight: 500; line-height: 20px; }
.pp-flowcard-steps em::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #a29ae2; }
.pp-midcta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 16px; padding: 28px 32px; border-radius: 16px; background: #f5f5f6; }
.pp-midcta h3 { color: var(--lr-ink); font-size: 20px; font-weight: 500; line-height: 28px; letter-spacing: -0.015em; }
.pp-midcta .pp-kicker { margin-bottom: 4px; }
.pp-midcta-action { display: flex; flex: none; align-items: center; gap: 24px; }
.pp-midcta-price { display: flex; align-items: center; gap: 10px; margin: 0; }
.pp-midcta-price b { color: var(--lr-ink); font-size: 32px; font-weight: 500; line-height: 40px; letter-spacing: -0.03em; }
.pp-midcta-price span { color: #6b6b75; font-size: 12px; line-height: 16px; }
@media (max-width: 1100px) {
    .pp-flowcard-head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .pp-flowcard-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-flowcard-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
    .pp-flowcard-steps li:nth-child(n+3) { margin-top: 8px; }
    .pp-midcta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .pp-flowcard { padding: 24px 20px; }
    .pp-flowcard-head h3 { font-size: 24px; line-height: 32px; }
    .pp-flowcard-steps { grid-template-columns: minmax(0, 1fr); }
    .pp-flowcard-steps li, .pp-flowcard-steps li:nth-child(3) { padding: 20px 0 0; border-left: 0; }
    .pp-flowcard-steps li + li { border-top: 1px solid rgb(255 255 255 / .12); margin-top: 20px; }
    .pp-midcta { padding: 24px 20px; }
    .pp-midcta-action { flex-direction: column; align-items: stretch; width: 100%; gap: 16px; }
}
@media (max-width: 560px) { .pp-flowcard-steps li + li { border-left: 0; } }
/* 2, less text (Igor 27 Nov «много текста мало наглядного?»): each step shows its real piece of the template instead of a
   sentence (the formats, the importer, a trade in the journal, the equity chart), the card head one line. */
.pp-flowcard-steps.is-visual h4 { margin-top: 4px; }
.pp-flowcard-pic { position: relative; height: 132px; margin-top: 16px; overflow: hidden; border-radius: 10px; background: #fff; }
.pp-flowcard-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.pp-flowcard-pic.is-chart img { object-fit: cover; object-position: 30% 35%; transform: scale(1.35); transform-origin: 30% 35%; }
.pp-flowcard-steps.is-visual em { margin-top: 14px; }
.pp-flowcard .pp-flowcard-head { display: block; }
@media (max-width: 560px) { .pp-flowcard-pic { height: 150px; } }
.pp-flowcard-pic { height: 124px; }
.pp-flowcard-pic.is-chart img { object-position: 45% 62%; transform: scale(1.25); transform-origin: 45% 62%; }
/* The path on a light ground (Igor 27 Nov «наверно потому что на темном плохо скрины смотрятся»): Notion's warm ground as the
   first screen's picture, ink text, indigo numbers, each piece in a white frame with a hairline. */
.pp-flowcard { background: #f2f1ee; color: var(--lr-ink); }
.pp-flowcard .pp-kicker, .pp-flowcard-no { color: var(--lr-accent); }
.pp-flowcard-head h3, .pp-flowcard-steps h4, .pp-flowcard-steps em { color: var(--lr-ink); }
.pp-flowcard-head { border-bottom-color: #e3e1dc; }
.pp-flowcard-steps li + li { border-left-color: #e3e1dc; }
.pp-flowcard-steps em { border-top-color: #e3e1dc; }
.pp-flowcard-steps em::before { background: var(--lr-accent); }
.pp-flowcard-pic { border: 1px solid #e6e5e1; box-shadow: 0 1px 2px rgb(29 29 34 / .04); }
@media (max-width: 560px) { .pp-flowcard-steps li + li { border-top-color: #e3e1dc; } }
/* White, so no ground shows round the pictures (Igor 27 Nov «здесь прокатил бы только белый, чтобы фон под картинкой не было
   видно»): the card white with one hairline, the pictures on it without frames. */
.pp-flowcard { background: #fff; border: 1px solid var(--lr-line); }
.pp-flowcard-head, .pp-flowcard-steps li + li, .pp-flowcard-steps em { border-color: var(--lr-line); }
.pp-flowcard-pic { border: 0; border-radius: 0; box-shadow: none; background: #fff; }
/* A picture cut at its foot runs to the card's bottom edge (Igor 27 Nov «где картинка резанная снизу тогда надо прижимать к
   краю блока»): the step's line sits above its picture, every picture stands on the card's lower edge, the files too. */
.pp-flowcard { padding-bottom: 0; overflow: hidden; }
.pp-flowcard-steps.is-visual li { padding-bottom: 0; }
.pp-flowcard-steps.is-visual em { margin-top: 8px; padding-top: 0; border-top: 0; }
.pp-flowcard-steps.is-visual .pp-flowcard-pic { height: 148px; margin-top: auto; padding-top: 20px; box-sizing: content-box; }
.pp-flowcard-steps.is-visual .pp-flowcard-pic img { height: 148px; }
@media (max-width: 560px) {
    .pp-flowcard-steps.is-visual li + li { margin-top: 0; }
}
/* The four steps drawn in code, not screenshots (Igor 27 Nov «можешь сделать их не картинками а графиками? тоесть кодом»,
   «не обязательно идентично, но +-»), on the demo trader's own rows and curve, each cut by the card's lower edge. */
.pp-flowcard-steps.is-visual .pp-viz { height: auto; min-height: 150px; padding: 0; overflow: hidden; border: 1px solid var(--lr-line); border-bottom: 0; border-radius: 10px 10px 0 0; background: #fff; box-sizing: border-box; font-family: var(--lr-font); }
.pp-flowcard-steps.is-visual li > .pp-viz { margin-top: auto; }
.pp-flowcard-steps.is-visual li > em + .pp-viz { margin-top: 20px; }
.pp-viz-tab { display: flex; align-items: center; height: 30px; padding: 0 12px; border-bottom: 1px solid #ececf0; color: #6b6b75; font-size: 12px; line-height: 16px; }
.pp-viz-rows { padding: 4px 0; font: 400 11px/22px ui-monospace, 'SF Mono', Menlo, monospace; color: #3d3d45; }
.pp-viz-rows span { display: grid; grid-template-columns: 1.6fr .9fr 1fr .5fr 1.4fr; padding: 0 12px; }
.pp-viz-rows span.is-head { color: #8a8a96; }
.pp-viz-rows i { font-style: normal; white-space: nowrap; }
.pp-viz-rows i:last-child { text-align: right; }
.pp-viz-map ul { margin: 0; padding: 6px 12px; list-style: none; }
.pp-viz-map li { display: grid; grid-template-columns: 56px 16px minmax(0, 1fr) 14px; align-items: center; gap: 6px; height: 24px; font-size: 12px; line-height: 16px; }
.pp-viz-map b { padding: 1px 6px; border-radius: 4px; background: #f1f1f4; color: #3d3d45; font: 400 11px/18px ui-monospace, 'SF Mono', Menlo, monospace; }
.pp-viz-map i { color: #a5a5ad; font-style: normal; text-align: center; }
.pp-viz-map span { color: var(--lr-ink); }
.pp-viz-map svg { width: 14px; height: 14px; color: #449a6b; }
.pp-viz-week, .pp-viz-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 10px; }
.pp-viz-week i { padding: 8px 0 6px; color: #8f8e8a; font-size: 12px; font-style: normal; text-align: center; }
.pp-viz-days { border-top: 1px solid #ececea; }
.pp-viz-days i { padding: 6px 8px 4px; color: #37352f; font-size: 13px; font-style: normal; text-align: right; }
.pp-viz-days i + i { border-left: 1px solid #ececea; }
.pp-viz-card { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin: 0 10px 0 calc(66.6% - 4px); padding: 8px 10px 12px; border-radius: 6px 6px 0 0; background: #eef3ef; color: #37352f; font-size: 12px; line-height: 16px; }
.pp-viz-card b { font-weight: 600; }
.pp-viz-acc { color: #6b6b75; }
.pp-viz-tag { padding: 0 6px; border-radius: 4px; background: #e4e2f5; color: #3b3486; }
.pp-viz-loss { color: #c4342d; font-weight: 500; font-variant-numeric: tabular-nums; }
.pp-viz-card { margin-left: 33.3%; }
.pp-viz-chart-head { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 12px; border-bottom: 1px solid #ececf0; color: #6b6b75; font-size: 12px; line-height: 16px; }
.pp-viz-chart-head b { color: var(--lr-ink); font-weight: 500; }
.pp-viz-chart-head em { color: #2e8550; font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.pp-viz-chart svg { display: block; width: 100%; height: 118px; padding: 10px 12px 0; box-sizing: border-box; overflow: visible; }
.pp-viz-chart line { stroke: #d6d6de; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.pp-viz-chart polyline { fill: none; stroke: #449a6b; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
@media (max-width: 760px) { .pp-flowcard-steps.is-visual .pp-viz { min-height: 0; } }
/* the steps' own list rules stop at the steps: nothing leaks into the drawings */
.pp-flowcard-steps .pp-viz li, .pp-flowcard-steps .pp-viz li + li { margin: 0; padding: 0; border: 0; }
.pp-flowcard-steps .pp-viz-map li { padding: 0; }
.pp-flowcard-steps .pp-viz em { margin: 0; padding: 0; border: 0; }
.pp-flowcard-steps .pp-viz em::before { content: none; }
.pp-viz-card { margin-left: 33.3%; margin-right: 33.3%; }
/* each drawing's frame runs to the card's lower edge, whatever its content's height; the day with the trade a little wider */
.pp-flowcard-steps.is-visual > li > .pp-viz { flex: 1 1 auto; margin-top: 20px; }
.pp-viz-week, .pp-viz-days { grid-template-columns: 1fr 1.6fr 1fr; }
.pp-viz-card { margin-left: calc(27.78% - 3px); margin-right: calc(27.78% - 3px); }
@media (min-width: 561px) and (max-width: 1100px) {
    .pp-flowcard-steps.is-visual > li:nth-child(n+3) { margin-top: 0; border-top: 1px solid var(--lr-line); }
}
/* Every drawing fills its frame to the card's edge (Igor 27 Nov «все разной высоты и дырявые внизу»): one frame height, each
   drawing taller than it, so the edge cuts all four the same way; no empty white under any of them. */
.pp-flowcard-steps.is-visual > li > .pp-viz { display: flex; flex-direction: column; flex: none; height: 176px; min-height: 0; }
.pp-viz-rows, .pp-viz-map ul { flex: none; }
.pp-viz-cal { position: relative; }
.pp-viz-days { flex: 1 0 auto; height: 200px; align-items: start; }
.pp-viz-days i { align-self: stretch; }
.pp-viz-card { position: absolute; top: 62px; left: 10px; right: 10px; padding-bottom: 40px; }
.pp-viz-link { color: #6b6b75; text-decoration: underline; text-decoration-color: #c9c9d2; }
.pp-viz-chart svg { flex: 1 1 auto; height: auto; min-height: 0; padding-bottom: 0; }
@media (max-width: 1100px) { .pp-flowcard-steps.is-visual > li > .pp-viz { height: 168px; } }
/* the drawings' own heads keep their height inside the fixed frame; the day with the trade wide enough for one-line tags */
.pp-viz-tab, .pp-viz-chart-head, .pp-viz-week { flex: none; }
.pp-viz-week, .pp-viz-days { grid-template-columns: 1fr 2.2fr 1fr; }
.pp-viz-card { margin: 0; left: calc(23.81% + 4px); right: calc(23.81% + 4px); }
.pp-viz-card > * { white-space: nowrap; }
/* lower frames (Igor 27 Nov «может их ниже») */
.pp-flowcard-steps.is-visual > li > .pp-viz { height: 132px; }
@media (max-width: 1100px) { .pp-flowcard-steps.is-visual > li > .pp-viz { height: 128px; } }

/* 3, from prod ("Core trading system"): the five parts' strip, two wide cards (Journal, Playbook) and two rows of two, white
   with one hairline; each template view runs out past the card's right and lower edge, so the card cuts it, as on prod. */
.pp-core .pp-midcta { margin-top: 16px; }
.pp-section .pp-why-sub { max-width: 720px; margin-top: 16px; color: #6b6b75; font-size: 18px; line-height: 28px; text-wrap: pretty; }

/* 3, recomposed (Igor 27 Nov «говно. сам смотри и проверяй. пока дешево и криво»): the six screenshots at six scales, foreign
   data, piles of pills and a strip of boxed links gave way to one block: five tabs over one panel, each part drawn in code at
   one scale on the demo trader's own trades, words beside it; the Notion window cut by the panel's lower edge. */
.pp-tabs { margin-top: 32px; overflow: hidden; border: 1px solid var(--lr-line); border-radius: 16px; background: #fff; }
.pp-tabs-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--lr-line); background: #fafafb; }
.pp-tabs-list button { position: relative; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px; border: 0; background: none; color: #6b6b75; font: 500 16px/24px var(--lr-font); text-align: left; cursor: pointer; }
.pp-tabs-list button + button { border-left: 1px solid var(--lr-line); }
.pp-tabs-list button b { color: #a5a5ad; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.pp-tabs-list button:hover { color: var(--lr-ink); }
.pp-tabs-list button[aria-selected="true"] { background: #fff; color: var(--lr-ink); }
.pp-tabs-list button[aria-selected="true"] b { color: var(--lr-accent); }
.pp-tabs-list button[aria-selected="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lr-accent); }
.pp-tabs-list button:focus-visible { outline: 2px solid var(--lr-accent); outline-offset: -2px; }
.pp-tabs-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 48px; height: 440px; padding: 40px 0 0 40px; overflow: hidden; }
.pp-tabs-panel[hidden] { display: none; }
.pp-tab-text h3 { color: var(--lr-ink); font-size: 24px; font-weight: 500; line-height: 32px; letter-spacing: -0.02em; text-wrap: balance; }
.pp-tab-view { min-width: 0; }
.pp-markets { margin-top: 16px; color: #6b6b75; font-size: 14px; line-height: 20px; }
.is-gain { color: #2e8550; }
.is-loss { color: #c4342d; }


/* Section heads centred over full-width content (Igor 27 Nov «не круто что везде заголовки по левому краю»): the kicker, the
   headline and its sub line sit on the page's centre above a flow, tabs or a grid; the hero and the text-beside-picture rows
   stay left, their words belong to the picture beside them. */
.pp-section.is-centered > .lr-container > :is(.pp-kicker, .lr-h2, .pp-why-sub) { margin-inline: auto; text-align: center; }
.pp-section.is-centered > .lr-container > .lr-h2 { max-width: 1060px; text-wrap: balance; }
.pp-section.is-centered > .lr-container > .pp-why-sub { text-wrap: balance; }


/* The five tabs as the template's pages drawn in code (includes/notion-template-views.php; Igor 28 Nov «все блоки там можно
   было и полностью воссоздать идентичными мокапами»): Notion's primitives and the 27 Nov copy's collages first, then Review,
   Backtesting and Playbook in the same language, each layered like production's screenshot and cut by the panel's edges. */
.pp-nsprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pp-ni { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pp-ntag { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 3px; font-size: 13px; font-style: normal; line-height: 22px; white-space: nowrap; }
.pp-ntag.is-green { background: #dbeddb; color: #1c3829; }
.pp-ntag.is-red { background: #ffe2dd; color: #5d1715; }
.pp-ntag.is-orange { background: #fadec9; color: #49290e; }
.pp-ntag.is-yellow { background: #fdecc8; color: #402c1b; }
.pp-ntag.is-gray { background: #e3e2e0; color: #32302c; }
.pp-ncb { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 14px; height: 14px; margin-right: 2px; border: 1.5px solid #9b9a97; border-radius: 3px; }
.pp-ncb.is-on { border-color: #2383e2; background: #2383e2; }
.pp-ncb-tick { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp-ntag.is-purple { background: #e8deee; color: #412454; }
.pp-ntag.is-pink { background: #f5e0e9; color: #4c2337; }
.pp-ntag.is-blue { background: #d3e5ef; color: #183347; }

/* 3, the template's own collages rebuilt in code (Igor 27 Nov «почему не собрать то что можно прямо кодом тут так же а может и
   богаче?»): prod's screenshots were assembled from pieces of pages and cleaned by hand; each tab repeats that composition at its
   scale (Notion at 100%: 16px titles, 14px text and tags), layered like the original, on the demo trader. Journal = feature-journal-v5:
   the calendar with cards tinted by result. */
.pp-tabs-panel.is-collage { height: 540px; }
.pp-tabs-panel.is-collage .pp-tab-view { position: relative; }
.pp-cl { --n-ink: #37352f; --n-grey: #787774; --n-faint: #a5a29c; --n-line: #e9e9e7; --n-win: #edf3ec; --n-loss: #fdebec;
    position: relative; height: 100%; color: var(--n-ink); font: 14px/22px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
.pp-clcal { position: absolute; inset: 0 0 auto 0; overflow: hidden; border: 1px solid var(--n-line); border-right: 0; border-radius: 24px 0 0 0; background: #fff; }
.pp-clcal-head, .pp-clcal-week { display: grid; grid-template-columns: repeat(4, 218px); }
.pp-clcal-head i { padding: 12px 0; color: var(--n-grey); font-style: normal; text-align: center; }
.pp-clcal-week { border-top: 1px solid var(--n-line); }
.pp-clcal-week > div { min-height: 300px; padding: 6px 8px 10px; }
.pp-clcal-week > div + div { border-left: 1px solid var(--n-line); }
.pp-clcal-week u { display: block; padding: 4px 6px 6px; font-size: 16px; text-align: right; text-decoration: none; }
.pp-clcard { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px 12px; border-radius: 10px; }
.pp-clcard.is-up { background: var(--n-win); }
.pp-clcard.is-down { background: var(--n-loss); }
.pp-clcard b { display: flex; align-items: center; gap: 7px; max-width: 100%; overflow: hidden; font-size: 16px; font-weight: 600; white-space: nowrap; }
.pp-clcard > span { display: flex; align-items: center; gap: 7px; }
.pp-clcard .is-acct { font-weight: 500; }
.pp-clcard .is-note { display: block; width: 100%; overflow: hidden; text-overflow: clip; white-space: nowrap; }
.pp-clcard p { margin: 0; }
.pp-clcard .pp-ntag { height: 24px; padding: 0 8px; font-size: 14px; line-height: 24px; border-radius: 4px; }
.pp-clcard .pp-ni { width: 15px; height: 15px; color: var(--n-grey); }
.pp-clcard .pp-ncb { width: 16px; height: 16px; }

.pp-tabs-panel.is-collage { padding: 40px 0 0 40px; overflow: hidden; }
.pp-tabs-panel.is-collage .pp-tab-text { padding-bottom: 40px; }
.pp-tv { display: block; }


/* One system for the five tabs (Igor 28 Nov «проверь каждый там и наведи порядок и консистентность»): each tab is one Notion
   page window in one place (the page's icon and title, its views, then its content), running out under the panel's right
   and lower edges; and one card laid over it, whole, in one place at its lower left, one style. Notion's own values:
   ink #37352f, grey #787774, lines #e9e9e7, the tag palette, the blue checkbox, its system font, 14/16 px text. */
.pp-clwin { position: absolute; inset: 0 -1px -1px 0; padding: 22px 0 0 26px; overflow: hidden; border: 1px solid var(--n-line); border-radius: 22px 0 0 0; background: #fff; }
.pp-clwin-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--n-ink); font-size: 26px; font-weight: 700; line-height: 32px; }
.pp-clwin-title .pp-ni { width: 24px; height: 24px; color: var(--n-grey); }
.pp-clwin > .pp-clviews { margin-bottom: 12px; }
.pp-clwin-body { position: relative; }
.pp-clwin .pp-clgal, .pp-clwin .pp-clbt-table { position: static; }
.pp-clwin .pp-clcal { position: static; margin-left: -26px; padding-left: 26px; border: 0; border-top: 1px solid var(--n-line); border-radius: 0; }
.pp-clwin .pp-clbt-table { width: 900px; }
.pp-clwin .pp-clbt-table.is-trades { width: 820px; margin-top: 25px; border-top: 1px solid var(--n-line); }
.pp-clbt-table.is-trades .pp-clbt-row { grid-template-columns: 140px 160px 210px 150px 160px; }
.pp-clgcard.is-white { background: #fff; box-shadow: 0 0 0 1px var(--n-line); }
/* Analytics: the real chart pack (widgets/notion-charts) in the Dashboard page at its own height. */
/* The pack's own name row and its foot are not shown (Igor 28 Nov «нафик где пустота с названием виджета?»): the view switch
   sits 16 under the page's line, the widget's content on the window's left edge (its 20px padding outside), cut under the
   dates. */
/* the chart from its figure to its dates (the pack's own view switcher stays in the widget), the journal table under it ending
   on the window's edge (Igor 28 Nov «добавь внизу что-то крутое из notion, таблицу сделок») */
.pp-clwidget-cut { position: relative; height: 228px; overflow: hidden; border-top: 1px solid var(--n-line); }
.pp-clwidget { position: absolute; top: -108px; left: -20px; display: block; width: calc(100% - 4px); height: 410px; border: 0; background: #fff; }
.pp-clgal.is-setups .pp-tv { border-bottom: 1px solid var(--n-line); }
.pp-nrate { font-size: 13px; color: var(--n-grey); }

/* The card over each window is the app's own widget for that page, live on the sample trader (Igor 28 Nov «надо брать либо notion
   интерфейс либо виджеты которые будут доступны им»): drawn at 400px and shown at 0.8, so the tallest (Setup grades) stays whole
   in the panel (each cut where its picture ends, Igor 28 Nov «такое лишнее в мокапе вообще не надо»); one place for all five, the lower right, where the window runs out under the edge anyway. --wh is the widget's
   height at 400px on the demo data. */
.pp-tabs-panel.is-collage .pp-clover { position: absolute; right: 24px; bottom: 24px; width: 320px; height: calc(var(--wh) * 0.8); overflow: hidden;
    border: 1px solid var(--n-line); border-radius: 16px; background: #fff; box-shadow: 0 2px 4px rgb(15 15 15 / 4%), 0 24px 48px rgb(15 15 15 / 10%); }
.pp-clover iframe { display: block; width: 400px; height: var(--wn, var(--wh)); border: 0; background: #fff; transform: scale(0.8); transform-origin: 0 0; }
/* Under 1100, where the words stand over the window, the window alone: the laid-over card would cover its title and most of
   it, and a phone's panel would cut it. */
@media (max-width: 1100px) { .pp-tabs-panel.is-collage .pp-clover { display: none; } }
/* Review = review-workflow: the Trading Journal's gallery, cards tinted by result, each with its chart. */
.pp-clgal { position: absolute; inset: 0 auto auto 0; display: grid; grid-template-columns: repeat(3, 256px); gap: 16px; }
.pp-clgcard { overflow: hidden; border-radius: 12px; background: var(--n-win); box-shadow: 0 0 0 1px rgb(15 15 15 / 4%); }
.pp-clgcard .pp-tv { width: 256px; height: 144px; border-bottom: 1px solid var(--n-line); }
.pp-clgbody { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.pp-clgbody b { display: flex; align-items: center; gap: 8px; overflow: hidden; font-size: 16px; font-weight: 600; line-height: 22px; white-space: nowrap; }
.pp-clgbody b .pp-ni { width: 16px; height: 16px; color: var(--n-grey); }
.pp-clgline { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 14px; line-height: 20px; }
.pp-clgtags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; }
.pp-clgtags .pp-ntag { height: 24px; padding: 0 8px; font-size: 14px; line-height: 24px; }
.pp-nacct, .pp-nchk { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 500; }
.pp-nacct .pp-ni { width: 15px; height: 15px; color: var(--n-grey); }
.pp-ndot { width: 10px; height: 10px; margin-right: 5px; border-radius: 50%; background: #c9c7c2; box-shadow: inset 0 -2px 3px rgb(0 0 0 / 12%); }
.pp-ndot.is-green { background: #3aa454; }

/* Backtesting = feature-backtests: the database's views and its table tinted by result. */
.pp-clviews { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; white-space: nowrap; }
.pp-clviews span { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 16px; color: var(--n-grey); font-size: 15px; font-weight: 500; }
.pp-clviews .is-on { background: #efefed; color: var(--n-ink); }
.pp-clviews .pp-ni { width: 16px; height: 16px; }
.pp-clbt-row { display: grid; grid-template-columns: 170px 170px 150px 260px 120px; margin: 0; border-bottom: 1px solid var(--n-line); font-size: 15px; line-height: 22px; }
.pp-clbt-row > span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; }
.pp-clbt-row > span + span { border-left: 1px solid var(--n-line); }
.pp-clbt-row.is-head { color: var(--n-grey); }
.pp-clbt-row.is-head .pp-ni { width: 16px; height: 16px; }
.pp-clbt-row.is-up { background: var(--n-win); }
.pp-clbt-row.is-down { background: var(--n-loss); }
.pp-clbt-row .is-title { font-weight: 600; }
.pp-clbt-row .is-title .pp-ni { width: 18px; height: 18px; color: var(--n-grey); }
.pp-clbt-row .pp-ntag { height: 26px; padding: 0 9px; font-size: 15px; line-height: 26px; }
.pp-clbt-row .is-links { gap: 14px; }
.pp-clbt-row u { display: inline-flex; align-items: center; gap: 6px; text-decoration-color: #c9c7c2; text-underline-offset: 3px; }
.pp-clbt-row .is-num { justify-content: flex-end; font-variant-numeric: tabular-nums; }
.pp-clbt-row.is-new { display: block; border-bottom: 0; color: var(--n-faint); }
.pp-clbt-row.is-new > span { min-height: 30px; }
.pp-clbt-row.is-new .pp-ni { width: 16px; height: 16px; }


@media (max-width: 1100px) {
    .pp-tabs-panel.is-collage { grid-template-columns: minmax(0, 1fr); height: auto; padding: 32px 0 0 32px; }
    .pp-tabs-panel.is-collage .pp-tab-text { padding: 0 32px 0 0; }
    .pp-tabs-panel.is-collage .pp-tab-view { height: 500px; } /* the desktop window's height: Analytics' journal rows end on its edge */
}
@media (max-width: 760px) {
    .pp-tabs-list { display: flex; overflow-x: auto; scrollbar-width: none; }
    .pp-tabs-list::-webkit-scrollbar { display: none; }
    .pp-tabs-list button { flex: none; height: 48px; padding: 0 16px; font-size: 15px; }
    .pp-tabs-panel.is-collage { padding: 24px 0 0 20px; }
    .pp-tabs-panel.is-collage .pp-tab-text { padding-right: 20px; }
    .pp-tab-text h3 { font-size: 20px; line-height: 28px; }
}

/* The AI block: production's label with the AI marks. */
.pp-ai-label { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.pp-ai-label .pp-kicker { margin: 0; }
.pp-ai-label img { display: block; width: auto; height: 28px; }

/* Reviews: production's, flat: a line of stars, the words, the buyer; hairlines between, no cards. */
.pp-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; margin-top: 40px; text-align: left; }
.pp-quote { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 28px 0; border-top: 1px solid var(--lr-line); }
.pp-quote .pp-stars { color: #e2a400; font-size: 14px; letter-spacing: 2px; }
.pp-quote blockquote { margin: 0; }
.pp-quote blockquote p { margin: 0; color: #3d3d45; font-size: 16px; line-height: 26px; }
.pp-quote .pp-quote-head { margin-bottom: 8px; color: var(--lr-ink); font-size: 18px; font-weight: 500; line-height: 26px; }
.pp-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.pp-quote figcaption img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.pp-quote figcaption b { display: block; color: var(--lr-ink); font-size: 14px; font-weight: 600; line-height: 20px; }
.pp-quote figcaption small { display: block; color: #6b6b75; font-size: 13px; line-height: 18px; }
.pp-reviews-foot { margin-top: 24px; color: #6b6b75; font-size: 16px; line-height: 24px; text-align: center; }
.pp-reviews-foot .lr-text-link { margin-left: 8px; }
.pp-quotes.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: 0; }
.pp-quotes.is-four .pp-quote-head { font-size: 16px; line-height: 24px; }
.pp-quotes.is-four blockquote p { font-size: 15px; line-height: 24px; }
@media (max-width: 1100px) { .pp-quotes, .pp-quotes.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pp-quotes, .pp-quotes.is-four { grid-template-columns: minmax(0, 1fr); } }

/* Import block, made one piece (Igor 28 Nov «сделай это более собранно… и может там что-то улучшить если знаешь как»): the
   offer is the card's foot on a hairline, not a second box under it. Step 4 keeps the accepted drawing: the chart pack
   shown above in the hero is not drawn again here (Igor 28 Nov «нахер ты переносишь то что было выше?»). */
.pp-flowcard .pp-midcta.is-foot { position: relative; margin: 0 -32px; border-top: 1px solid var(--lr-line); border-radius: 0; background: #f7f7f8; }
@media (max-width: 760px) { .pp-flowcard .pp-midcta.is-foot { margin: 0 -20px; } }
/* Pictures of screens are pictures: their words are not for selecting (Igor 28 Nov «чтобы нельзя было выделять текста в мокапах»). */
.nf, .pp-cl, .pp-viz, .pp-art-win .pp-win, .pp-tab-view { -webkit-user-select: none; user-select: none; }
/* the pictures are part of the page, not files to drag off it (Igor 28 Nov «чтобы картинка не тянулась мышкой») */
.pp-art img, .pp-proofbar img, .nf img { -webkit-user-drag: none; -webkit-user-select: none; user-select: none; }

/* Each tab's words as production's (Igor 28 Nov, beside prod's block): a grey line under the title, then prod's numbered list
   or its chips, the first two marked; the list and chips are the 27 Nov copy's. */
.pp-tab-lead { margin: 12px 0 0; color: #6b6b75; font-size: 16px; line-height: 24px; }
.pp-ftags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.pp-ftags li { padding: 4px 12px; border: 1px solid var(--lr-line); border-radius: 999px; color: #3d3d45; font-size: 14px; line-height: 20px; }
.pp-ftags li.is-on { border-color: transparent; background: #efedfb; color: var(--lr-accent); font-weight: 500; }
.pp-flist { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: pp-flist; }
.pp-flist li { position: relative; padding-left: 40px; counter-increment: pp-flist; }
.pp-flist li::before { content: counter(pp-flist); position: absolute; top: -2px; left: 0; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #dcdce4; border-radius: 50%; color: var(--lr-ink); font-size: 13px; font-weight: 500; }
.pp-flist b { display: block; color: var(--lr-ink); font-size: 16px; font-weight: 500; line-height: 22px; }
.pp-flist span { display: block; margin-top: 2px; color: #6b6b75; font-size: 14px; line-height: 20px; }
.pp-ftags li { display: inline-flex; align-items: center; gap: 6px; }
.pp-ftags .lr-icon { width: 14px; height: 14px; }

/* Under 1100 the panels grow with their words; all five share one grid cell, so the block keeps the tallest one's height and
   nothing below jumps when a tab is picked (design-base: no layout jumps). The hidden ones stay hidden, only laid out. */
@media (max-width: 1100px) {
    .pp-tabs { display: grid; grid-template-columns: minmax(0, 1fr); }
    .pp-tabs > .pp-tabs-list { grid-row: 1; }
    .pp-tabs > .pp-tabs-panel { grid-row: 2; grid-column: 1; }
    .pp-tabs > .pp-tabs-panel[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
}

/* The nine modules (Igor 28 Nov «дальше. это вообще ужас какой-то»): each as the hero's card, Notion's warm ground with the
   page's window rising from its foot; one size, one crop from the screenshot's top-left, one radius for all nine. */
/* the window runs on to the card's right edge and is cut there, like a screen seen through it (Igor 29 Nov «пусть бы они справа
   упирались в фон и ним резались, было бы естественнее») */
.pp-workspace .pp-module .pp-art { position: relative; aspect-ratio: 8 / 5; overflow: hidden; padding: 20px 0 0 20px; border-radius: 16px; background: #f2f1ee; }
.pp-workspace .pp-module .pp-art img { display: block; box-sizing: border-box; width: 100%; height: 100%; object-fit: cover; object-position: left top;
    border: 1px solid #e6e5e1; border-bottom: 0; border-radius: 10px 10px 0 0; background: #fff; }
@media (max-width: 560px) { .pp-workspace .pp-module .pp-art { padding: 16px 0 0 16px; border-radius: 12px; } }
/* the cut sides fade into the card's colour: the white window does not run into the white page and reads as cut, not ended
   (Igor 29 Nov «может срезы немного кинуть затуханием?» → «белым попробуй затухание», «а рамку верни 1px»: the fade to white,
   a 1px line of the card's colour keeps its outline; his call over AGENTS.md's no-fade rule) */
.pp-workspace .pp-module .pp-art::after { content: ""; position: absolute; inset: 0; z-index: 1; border: 0 solid #f2f1ee; border-right-width: 1px;
    border-bottom-width: 1px; border-radius: inherit; pointer-events: none; }
/* the fade is the mockup's only (Igor 29 Nov «затухание только для картинок (мокапа)»): the window fades to white where the
   card cuts it, the card's beige stays whole */
.pp-workspace .pp-module .pp-nf-fit.is-module { position: relative; }
.pp-workspace .pp-module .pp-nf-fit.is-module::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff) right top / 28px 100% no-repeat,
        linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff) left bottom / 100% 28px no-repeat; }
@media (max-width: 560px) { .pp-workspace .pp-module .pp-nf-fit.is-module::after { background-size: 20px 100%, 100% 20px; } }

/* The cards at their own size, not shrunk (Igor 28 Nov «donut зажат… ну не влезет что-то так пусть обрезается, но зачем
   зажимать-то?»): 340 wide at 1:1, their tops on one line 24 under the window's top, a tall one cut by the panel's foot.
   In Analytics the chart pack runs the window's width with the card over its right, as in every tab (Igor 28 Nov «неконсистентно
   мокапам в других табах»). */
.pp-tabs-panel.is-collage .pp-clover { top: 24px; right: 24px; bottom: auto; width: 340px; height: var(--wh); }
.pp-clover iframe { width: 340px; height: var(--wn, var(--wh)); transform: none; }

/* The modules as frozen Notion pages: the frame fills the window from its top-left, scaled to the window's width. */
.pp-workspace .pp-module .pp-nf-fit.is-module { box-sizing: border-box; height: 100%; aspect-ratio: auto; border: 1px solid #e6e5e1; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; background: #fff; }
/* Block by block (Igor 28 Nov «каждый блок пересматривай и делай качественно»): the four setup steps framed as the modules
   (warm ground, the screen rising from its foot), and the AI picture on the same warm ground as every Notion screen here. */
#how-it-works .pp-steps .pp-art { position: relative; aspect-ratio: 8 / 5; padding: 20px 20px 0; border-radius: 16px; background: #f2f1ee; }
#how-it-works .pp-steps .pp-nf-fit.is-module { box-sizing: border-box; height: 100%; aspect-ratio: auto; border: 1px solid #e6e5e1; border-bottom: 0;
    border-radius: 10px 10px 0 0; background: #fff; }
.pp-row-ai .pp-art { background: #f2f1ee; }
@media (max-width: 560px) { #how-it-works .pp-steps .pp-art { padding: 16px 16px 0; border-radius: 12px; } }

/* The AI picture stands on the block's foot and right edge (Igor 28 Nov «картинка упираться должна снизу и справа к блоку»). */
.pp-row-ai .pp-art { padding: 28px 0 0 28px; overflow: hidden; }
.pp-row-ai .pp-art img { display: block; width: 100%; height: auto; border-radius: 10px 0 0 0; }

/* The offer (Igor 29 Nov «Да, переноси», round design/notion-pricing-2026-11-29/round2/A; restructured the same day «сделай
   бро»): the Notion template and TSB Pro side by side in one screen, each its live screen on top, then its name, words, price
   and button, the rows shared (subgrid) so both prices and buttons stand on one line; the landing's trade moment under both
   (includes/landing-one-trade.php, its styles in landing-relaunch.css); what both share at the foot. Measures are the
   landing's pricing cards (landing-relaunch.css "Pricing — Cursor", scoped there to the landing page). */
.pp-notion #pricing { --np-card: #f5f5f6; --np-line: #dedee2; --np-muted: #6b6b75; }
.pp-notion #pricing .np-offers { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: 0 32px; }
.pp-notion #pricing .np-card { display: grid; grid-row: span 8; grid-template-rows: subgrid; align-content: start; min-width: 0; padding: 40px 40px 44px; border-radius: 16px; background: var(--np-card); }
.pp-notion #pricing .np-card > * { min-width: 0; margin: 0; }
.pp-notion #pricing .np-pic { margin-bottom: 40px; }
.pp-notion #pricing .np-name { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-family: var(--lr-font); color: var(--lr-accent); font-size: 14px; line-height: 24px; font-weight: 600; letter-spacing: 0; }
.pp-notion #pricing .np-line { margin-top: 6px; color: var(--np-muted); font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: 0; }
.pp-notion #pricing .np-desc { max-width: 56ch; margin-top: 16px; text-wrap: pretty; color: var(--np-muted); font-size: 16px; line-height: 24px; }
.pp-notion #pricing .np-buy { margin-top: 28px; }
.pp-notion #pricing .np-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin: 0; }
.pp-notion #pricing .np-price b { color: var(--lr-ink); font-size: 44px; line-height: 48px; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-notion #pricing .np-price span { color: var(--np-muted); font-size: 16px; line-height: 24px; font-weight: 500; }
.pp-notion #pricing .np-billing { color: var(--np-muted); font-size: 14px; line-height: 20px; }
.pp-notion #pricing .np-billing { margin: 6px 0 0; }
.pp-notion #pricing .np-cta { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 48px; margin-top: 24px; padding: 12px 20px; border: 0; border-radius: 999px; font-size: 16px; line-height: 24px; font-weight: 600; text-align: center; white-space: normal; box-shadow: none; }
/* The template's own buy: the primary button in ink, never the grey of a lesser choice (Igor «где кнопки купить?»). */
.pp-notion #pricing .np-cta.is-template { background: var(--lr-ink); color: #fff; }
.pp-notion #pricing .np-cta.is-template:hover { background: #33333b; }
.pp-notion #pricing .np-after { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; color: var(--np-muted); font-size: 14px; line-height: 20px; text-wrap: pretty; }
.pp-notion #pricing .np-after.is-value { color: var(--lr-ink); font-weight: 600; }
/* The two screens, drawn live (Igor «ты что картинками там оставишь?»), one rule for both, taken from product cards on
   Pinterest (29 Nov, pins 35 "One model with two ways to build", 29, 12; Igor «зайди посмотри в пинтересте как должно быть»):
   each window stands on a soft stage of its own tint, inset at the top and sides, rounded only at the top, and runs out
   through the stage's foot; a soft shadow lifts it. The template in the page's Notion window on a warm Notion tint, the app
   in its indigo window on an indigo tint. */
.pp-notion #pricing .np-pic { position: relative; aspect-ratio: 2.05; overflow: hidden; padding: 28px 28px 0; border-radius: 12px; background: #efeee9; box-sizing: border-box; }
.pp-notion #pricing .np-pro .np-pic { background: #ebeaf8; }
.pp-notion #pricing .np-win { display: flex; flex-direction: column; height: calc(100% + 1px); border-bottom: 0; border-radius: 12px 12px 0 0; box-shadow: 0 1px 2px rgb(29 29 34 / .05), 0 16px 40px -16px rgb(29 29 34 / .22); }
.pp-notion #pricing .np-win > .pp-win-bar { flex: none; }
.pp-notion #pricing .np-frame { flex: 1; min-height: 0; aspect-ratio: auto; height: auto; }
.pp-notion #pricing .np-app { --lr-jfit: .42; --lr-hero-p: 1; position: relative; height: 100%; overflow: hidden; border-radius: 12px 12px 0 0; box-shadow: 0 1px 2px rgb(29 29 34 / .06), 0 16px 40px -16px rgb(40 32 120 / .35); }
.pp-notion #pricing .np-app .lr-shot-frame { transform: none; animation: none; padding: 0; border-radius: 12px 12px 0 0; background: var(--lr-accent); box-shadow: none; }
.pp-notion #pricing .np-app .lr-shot-frame::after { display: none; }
.pp-notion #pricing .np-app .lr-j { border-radius: 12px 12px 0 0; }
.pp-notion #pricing .np-ticks ul { display: grid; gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.pp-notion #pricing .np-ticks li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; color: var(--lr-ink); font-size: 14px; line-height: 20px; }
.pp-notion #pricing .np-ticks .np-check { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--lr-accent); }
@media (max-width: 1100px) {
        /* Two narrow columns: each screen cut to its useful part at a readable scale, not shrunk whole. The Journal shows its
       review with the voice note (cut from the right), the dashboard its left and top. */
    .pp-notion #pricing .np-pic { aspect-ratio: 1.15; margin-bottom: 32px; padding: 20px 20px 0; }
    .pp-notion #pricing .np-card { padding: 28px 28px 32px; }
    .pp-notion #pricing .np-offers { gap: 0 20px; }
    .pp-notion #pricing .np-buy { margin-top: 28px; }
    /* the dashboard drawn wider than its window, so it shows its left and top at the Journal's scale, not shrunk whole */
    .pp-notion #pricing .np-frame { width: 170%; }
    /* the app shows its trade review alone, cut on its own left border (x 1054 of the app's 1428), never mid-word */
    .pp-notion #pricing .np-pic { container-type: inline-size; }
    .pp-notion #pricing .np-app .lr-shot-frame { position: absolute; top: calc(-120px * var(--lr-jfit)); right: 0; width: calc(100cqi * 1428 / 374); border-radius: 0; }
    }
@media (max-width: 760px) {
    .pp-notion #pricing .np-offers { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 16px; }
    .pp-notion #pricing .np-card { display: block; grid-row: auto; padding: 24px 20px 28px; }
    .pp-notion #pricing .np-pic { margin-bottom: 28px; }
    .pp-notion #pricing .np-buy { margin-top: 28px; }
    .pp-notion #pricing .np-pic { aspect-ratio: 1.15; padding: 16px 16px 0; }
            }

/* The page order of 29 Nov (Igor «сделаешь?» on the coordinator's order): the template's hero with a quiet second door, what's
   inside (import strip, five tabs, the workspace tighter, one $99 band), the turn, the two ways, then the short blocks. */
.pp-second-door { margin: 16px 0 0; font-size: 16px; line-height: 24px; }
.pp-second-door .lr-text-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
/* the import strip ends on the card's foot now that its $99 band went: its pictures run to the edge */
.pp-why .pp-flowcard { padding-bottom: 0; overflow: hidden; }
/* the workspace, tighter: shorter pictures, closer rows; on a phone one swiped row (27 Nov «phones swipe the row») */
.pp-workspace .pp-modules { gap: 28px 24px; margin-top: 40px; }
.pp-workspace .pp-module .pp-art { aspect-ratio: 2 / 1; }
.pp-workspace .pp-module h3 { margin-top: 16px; }
@media (max-width: 560px) {
    .pp-workspace .pp-modules { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 8px; scrollbar-width: none; }
    .pp-workspace .pp-modules::-webkit-scrollbar { display: none; }
    .pp-workspace .pp-module { scroll-snap-align: start; }
}
/* the turn: the landing's own moment, left like the landing's chapters, under a one-line head */
.pp-turn .lr-h2 { max-width: 1060px; text-wrap: balance; }
.pp-turn .pp-kicker { text-wrap: balance; }
.pp-turn .np-one { margin-top: 40px; }
.pp-turn .np-one .lr-one { margin: 0; }
/* the short blocks after the offer: Duplicate in 60 seconds and the AI prompts, each a screen or less */
#how-it-works .pp-steps .pp-art { aspect-ratio: 2 / 1; }
.pp-ai .pp-row { text-align: left; }
.pp-ai .pp-row-ai { margin-top: 0; }
@media (max-width: 760px) { .pp-ai .pp-row { grid-template-columns: minmax(0, 1fr); } }
/* on a phone the four steps stand in one column, each picture at Notion's own size (Igor 29 Nov «это примеры плохой
   адаптивности» on the swiped row of small pictures) */
@media (max-width: 560px) {
    #how-it-works .pp-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* What each offer holds, inside its own card under its button (the landing's pricing cards and prod's two lists; Igor 29 Nov
   «тоже плохо» on the foot of three hairline rows): the template's eight parts, then Pro's own list from the landing's plans
   (includes/pricing-plans.php), each card ending on one quiet line; under both, the template owner's credit. */
.pp-notion #pricing .np-feat { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--np-line); }
.pp-notion #pricing .np-feat-head { margin: 0 0 12px; color: var(--np-muted); font-size: 14px; line-height: 20px; }
.pp-notion #pricing .np-feat ul { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pp-notion #pricing .np-feat li { font-size: 16px; line-height: 24px; }
.pp-notion #pricing .np-lead { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--np-line); color: var(--np-muted); font-size: 14px; line-height: 20px; }
.pp-notion #pricing .np-lead strong { color: var(--lr-ink); font-weight: 500; }
.pp-notion #pricing .np-credit { margin: 32px 0 0; color: var(--np-muted); font-size: 14px; line-height: 20px; text-align: center; }
.pp-notion #pricing .np-credit strong { color: var(--lr-ink); font-weight: 500; }
@media (max-width: 760px) { .pp-notion #pricing .np-feat { margin-top: 24px; } .pp-notion #pricing .np-lead { margin-top: 20px; } }

/* Each card names its product by its own mark (Igor 29 Nov «и эти штуки тоже»): Notion's for the template, TSB's wordmark for
   Pro, in ink at the card's title weight; the badge stays beside Pro's. */
.pp-notion #pricing .np-name { color: var(--lr-ink); font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.02em; }
.pp-notion #pricing .np-brand { display: inline-flex; align-items: center; gap: 10px; }
.pp-notion #pricing .np-brand img { display: block; flex: none; width: 20px; height: 20px; }
.pp-notion #pricing .np-tsb-mark { display: block; flex: none; width: 54px; height: 16px; margin-right: 0; background: var(--lr-ink); -webkit-mask: url(/assets/tsb_logo.svg) left center / contain no-repeat; mask: url(/assets/tsb_logo.svg) left center / contain no-repeat; }

/* One frame, not three (Igor 29 Nov «не много ли рамка в рамке?»): the tinted stage is the card's own top, edge to edge, so
   the card holds the window directly; the window rises from the stage's foot as before. */
.pp-notion #pricing .np-card { --np-pad: 40px; }
.pp-notion #pricing .np-pic { margin: calc(-1 * var(--np-pad)) calc(-1 * var(--np-pad)) 40px; padding: 36px 40px 0; border-radius: 16px 16px 0 0; }
@media (max-width: 1100px) { .pp-notion #pricing .np-card { --np-pad: 28px; } .pp-notion #pricing .np-pic { margin-bottom: 32px; padding: 24px 28px 0; } }
@media (max-width: 760px) { .pp-notion #pricing .np-card { --np-pad: 20px; } .pp-notion #pricing .np-pic { margin-top: -24px; margin-bottom: 28px; padding: 20px 20px 0; } }

/* Card heads as the landing's pricing cards (Igor 29 Nov «A»): the product's mark and name, one grey line; on Pro a quiet
   "✓ Template included" in text at the right, no plate («это добавлять к А?»). */
.pp-notion #pricing .np-included { display: inline-flex; align-items: center; gap: 4px; color: var(--lr-accent); font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.pp-notion #pricing .np-included .lr-icon { width: 16px; height: 16px; }

/* Both windows rise from their stages as the cards come into view (Igor 29 Nov «к мокапу тоже анимацию можно?»): calm,
   once per view, the template's first and the app's 120 ms after; armed only by assets/notion-template.js, so without
   JavaScript or with reduced motion they simply stand. */
.pp-notion #pricing .np-offers.is-armed .np-pic > * { transform: translateY(32px); opacity: .001; transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .5s ease; }
.pp-notion #pricing .np-offers.is-armed.is-in .np-pic > * { transform: none; opacity: 1; }
.pp-notion #pricing .np-offers.is-armed.is-in .np-pro .np-pic > * { transition-delay: .12s; }

/* The import as two chapter cards like the landing's (Igor 29 Nov, round design/notion-import-2026-11-29/A; «брать то что не
   дефолтное»): white cards, a title and a grey line, a hairline, a soft stage holding one window. Left, the broker file and
   its recognised fields; right, a real trade page of the template, P&L, R:R and Win filled by its formulas, cut at the foot. */
.pp-why .np-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; margin-top: 40px; text-align: left; }
.pp-why .np-flow-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e8e8ee; border-radius: 16px; background: #fff; }
.pp-why .np-flow-card > header { padding: 28px; }
.pp-why .np-flow-card h3 { color: var(--lr-ink); font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.02em; }
.pp-why .np-flow-card header p { margin-top: 4px; color: #6b6b75; font-size: 16px; line-height: 24px; }
.pp-why .np-flow-stage { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 28px 28px 0; border-top: 1px solid #e8e8ee; background: #f4f4f6; }
.pp-why .is-page .np-flow-stage { background: #efeee9; }
.pp-why .np-flow-win { overflow: hidden; border: 1px solid #e6e5e1; border-bottom: 0; border-radius: 12px 12px 0 0; background: #fff; box-shadow: 0 1px 2px rgb(29 29 34 / .04), 0 12px 32px -12px rgb(29 29 34 / .12); }
.pp-why .np-flow-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-bottom: 1px solid #ededeb; color: var(--lr-ink); font-size: 14px; line-height: 20px; }
.pp-why .np-flow-bar img { flex: none; width: 20px; height: 20px; }
.pp-why .np-flow-bar b { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.pp-why .np-file { width: calc(100% - 24px); margin: 8px 12px 12px; border-collapse: collapse; color: var(--lr-ink); font: 400 12px/18px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-why .np-file :is(th, td) { padding: 6px 4px; text-align: left; font-weight: 400; }
.pp-why .np-file th { color: #6b6b75; }
.pp-why .np-file :is(th, td):last-child { text-align: right; }
.pp-why .np-file tbody tr:nth-child(odd) { background: #f6f7fb; }
.pp-why .np-map { padding: 18px 20px 12px; border-top: 1px solid #ededeb; }
.pp-why .np-map-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; font-size: 14px; line-height: 20px; }
.pp-why .np-map-head b { color: var(--lr-ink); font-weight: 500; }
.pp-why .np-map-head span { color: var(--lr-accent); }
.pp-why .np-map ul { margin: 0; padding: 0; list-style: none; }
.pp-why .np-map li { display: grid; grid-template-columns: 76px 20px minmax(0, 1fr) 16px; gap: 8px; align-items: center; min-height: 30px; color: var(--lr-ink); font-size: 14px; line-height: 20px; }
.pp-why .np-map code { color: #6b6b75; font: 400 12px/20px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.pp-why .np-map-arrow { color: #9a9aa3; }
.pp-why .np-map-check { width: 16px; height: 16px; color: var(--lr-accent); }
.pp-why .np-file-foot { padding: 14px 20px; border-top: 1px solid #ededeb; color: #6b6b75; font-size: 12px; line-height: 16px; }
.pp-why .np-flow-notion { display: flex; flex: 1; flex-direction: column; min-height: 0; border-bottom: 0; border-radius: 12px 12px 0 0; }
.pp-why .np-flow-notion > .pp-win-bar { flex: none; }
.pp-why .np-flow-frame { flex: 1; min-height: 360px; aspect-ratio: auto; }
@media (max-width: 1100px) {
    .pp-why .np-flow { grid-template-columns: minmax(0, 1fr); }
    .pp-why .np-flow-card > header { padding: 24px; }
    .pp-why .np-flow-stage { padding: 20px 20px 0; }
    .pp-why .np-flow-frame { flex: none; height: auto; min-height: 0; aspect-ratio: 816 / 694; }
}
@media (max-width: 760px) {
    .pp-why .np-flow { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
    .pp-why .np-flow-card > header { padding: 20px; }
    .pp-why .np-flow-card header p { font-size: 14px; line-height: 20px; }
    .pp-why .np-flow-stage { padding: 16px 16px 0; }
    .pp-why .np-file tbody tr:nth-child(n+5) { display: none; }
    .pp-why .np-map { padding: 16px 16px 8px; }
}
@media (max-width: 380px) { .pp-why .np-file .is-qty { display: none; } .pp-why .np-map li { grid-template-columns: 64px 16px minmax(0, 1fr) 14px; gap: 6px; } }
/* Phones show each Notion frame's answer at a size you can read (Igor 29 Nov «это примеры плохой адаптивности»): the
   frame's data-nf-focus names the part of the page that fills the window's width (assets/notion-template.js). */
@media (max-width: 760px) {
    .pp-why .np-flow-frame { aspect-ratio: 816 / 694; }
    /* the hero's rating is said once, in the line over the title */
    .pp-proofbar .is-rating { display: none; }
    /* Pro's app window whole too, as on a desktop, and both pictures as tall as the whole pages */
    .pp-notion #pricing .np-pic { aspect-ratio: 1.5; }
    .pp-notion #pricing .np-pro .np-pic { display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: auto; }
    .pp-notion #pricing .np-app { height: auto; }
    .pp-notion #pricing .np-app .lr-shot-frame { position: relative; top: auto; right: auto; width: auto; border-radius: 12px 12px 0 0; }
    /* the core tabs' windows: the desktop's 796 × 500 window, whole, scaled to the phone's width (assets/notion-template.js) */
    .pp-tabs-panel.is-collage .pp-tab-view { height: calc(500px * var(--tv-s, 1)); overflow: hidden; }
    .pp-tab-view > .pp-cl { width: 796px; height: 500px; transform: scale(var(--tv-s, 1)); transform-origin: 0 0; }
    .pp-notion #pricing .np-template .np-frame { width: 100%; }
}

/* Tablets too (Igor 29 Nov «лучше пусть оно будет мелкое чем резанное»): both offer pictures show their whole page and
   whole app, small; the app stands on its stage's foot. */
@media (min-width: 761px) and (max-width: 1100px) {
    .pp-notion #pricing .np-pic { aspect-ratio: 1.28; }
    .pp-notion #pricing .np-template .np-frame { width: 100%; }
    .pp-notion #pricing .np-pro .np-pic { display: flex; flex-direction: column; justify-content: flex-end; }
    .pp-notion #pricing .np-app { height: auto; }
    .pp-notion #pricing .np-app .lr-shot-frame { position: relative; top: auto; right: auto; width: auto; border-radius: 12px 12px 0 0; }
}
