/* /free-trading-journal and /traders-toolkit (the free downloads): the hero's vertical steps on the landing's scale (Igor 27 Nov «на большом разве все отступы ты
   наладил?»): 80 from the bar, 24 between pill, title and lead, 32 to the form, 64 to the template, 32 to its chips. Scoped
   to the free pages; the other product pages keep public-products.css until their own turn. */
.pp-free-journal .pp-hero, .pp-toolkit .pp-hero, .pp-audit .pp-hero, .pp-quiz-page .pp-hero { padding-top: clamp(44px, 3.9vw, 64px); }
.pp-free-journal .pp-title, .pp-toolkit .pp-title, .pp-audit .pp-title, .pp-quiz-page .pp-title { margin-top: 24px; }
.pp-free-journal .pp-lead-text, .pp-toolkit .pp-lead-text, .pp-audit .pp-lead-text, .pp-quiz-page .pp-lead-text { margin-top: 24px; }
.pp-free-journal .pp-chips, .pp-toolkit .pp-chips { margin-top: 32px; }

/* The toolkit's chips with their counts from its Notion database (Igor 27 Nov «усиль»): by market, then by kind. */
.pp-tk-counts { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.pp-tk-counts .pp-chips { margin-top: 0; align-items: center; }
.pp-tk-counts .pp-chips li { display: inline-flex; align-items: baseline; gap: 6px; }
.pp-tk-counts .pp-chips b { color: var(--lr-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.pp-tk-counts .pp-chip-cap { padding-inline: 4px; background: none; color: #6b6b75; }
@media (max-width: 600px) {
    .pp-tk-counts { gap: 20px; }
    .pp-tk-counts .pp-chip-cap { flex-basis: 100%; justify-content: center; }
}

/* /tools/30-day-audit (tools/includes/audit-public-page.php): the workbook's real pages in the free pages' hero panel,
   then its four weeks; the FAQ as on /switch (the landing's look on a product page). */
.pp-audit .pp-audit-pages { display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 2.2vw, 28px); height: clamp(300px, 34vw, 470px); }
.pp-audit .pp-audit-pages img { flex: 0 1 300px; min-width: 0; width: 300px; height: auto; border-radius: 6px 6px 0 0; box-shadow: 0 1px 2px rgb(29 29 34 / .06), 0 18px 40px -18px rgb(29 29 34 / .22); }
.pp-audit .pp-audit-weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: 1120px; margin: 48px auto 0; padding: 0; list-style: none; text-align: left; }
.pp-audit .pp-audit-weeks li { display: flex; flex-direction: column; gap: 6px; }
.pp-audit .pp-audit-when { color: var(--lr-accent); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.pp-audit .pp-audit-weeks b { color: #1d1d22; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -0.01em; }
.pp-audit .pp-audit-weeks p { margin: 0; color: #6b6b75; font-size: 16px; line-height: 24px; text-wrap: pretty; }
.pp-audit .lr-faq-item summary { padding-inline: 0; color: #1d1d22; }
.pp-audit .lr-faq-item p { padding-left: 0; font-size: 14px; }
.pp-audit .lr-faq-head .lr-h2 span { color: #6b6b75; }
@media (max-width: 900px) {
    .pp-audit .pp-audit-weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .pp-audit .pp-audit-pages { height: 52vw; }
    .pp-audit .pp-audit-pages img { flex-basis: 46%; }
    .pp-audit .pp-audit-pages img:nth-child(2) { display: none; }
    .pp-audit .pp-audit-weeks { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 32px; }
}

/* /tools/trading-psychology-quiz (tools/includes/quiz-public-page.php): the quiz is the page's one framed answer, under the
   title; the result takes the questions' place. Markup comes from tools/includes/quiz-controller.php. */
.pp-quiz { max-width: 760px; margin: 48px auto 0; text-align: left; }
.pp-quiz .tool-quiz-card { padding: 32px; border: 1px solid #e3e3ea; border-radius: 16px; background: #fff; }
.pp-quiz .progress-label { display: flex; justify-content: space-between; color: #6b6b75; font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.pp-quiz .progress-bar { height: 4px; margin-top: 10px; overflow: hidden; border-radius: 2px; background: #f0f0f4; }
.pp-quiz .progress-fill { width: 0; height: 100%; border-radius: 2px; background: var(--lr-accent); transition: width .25s ease; }
.pp-quiz .quiz-card, .pp-quiz .result-section { display: none; }
.pp-quiz .quiz-card.active, .pp-quiz .result-section.active { display: block; }
.pp-quiz .question-number { display: none; }
.pp-quiz .question-text { margin: 28px 0 24px; color: #1d1d22; font-size: 24px; font-weight: 600; line-height: 32px; letter-spacing: -0.015em; text-wrap: pretty; }
.pp-quiz .answers { display: grid; gap: 10px; }
.pp-quiz .answer-btn { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 12px 16px; border: 1px solid #e3e3ea; border-radius: 12px; background: #fff; color: #1d1d22; font: 400 16px/22px var(--lr-font); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.pp-quiz .answer-btn:hover { border-color: color-mix(in srgb, var(--lr-accent) 45%, #e3e3ea); background: #f7f6fd; }
.pp-quiz .answer-btn:focus-visible { outline: 2px solid var(--lr-accent); outline-offset: 2px; }
.pp-quiz .answer-btn .letter { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f1f1f5; color: #6b6b75; font-size: 14px; font-weight: 600; }
.pp-quiz .answer-btn:hover .letter { background: var(--lr-accent); color: #fff; }
.pp-quiz .result-type-label { color: var(--lr-accent); font-size: 14px; font-weight: 600; line-height: 20px; }
.pp-quiz .result-type-name { margin-top: 6px; color: #1d1d22; font-size: 40px; font-weight: 600; line-height: 48px; letter-spacing: -0.025em; }
.pp-quiz .result-description { margin-top: 12px; color: #4b4f60; font-size: 17px; line-height: 26px; text-wrap: pretty; }
.pp-quiz :is(.scores-section, .traits-section, .tips-section) { margin-top: 32px; padding-top: 28px; border-top: 1px solid #ececf1; }
.pp-quiz :is(.scores-title, .traits-title, .tips-title) { margin-bottom: 16px; color: #1d1d22; font-size: 18px; font-weight: 600; line-height: 26px; }
.pp-quiz .score-bar-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 48px; align-items: center; gap: 16px; padding: 7px 0; color: #6b6b75; font-size: 15px; line-height: 22px; }
.pp-quiz .score-bar-track { height: 8px; overflow: hidden; border-radius: 4px; background: #f0f0f4; }
.pp-quiz .score-bar-fill { height: 100%; border-radius: 4px; background: #c9c9d3; }
.pp-quiz .score-bar-pct { text-align: right; font-variant-numeric: tabular-nums; }
.pp-quiz .scores-title + .score-bar-row { color: #1d1d22; font-weight: 600; }
.pp-quiz .scores-title + .score-bar-row .score-bar-fill { background: var(--lr-accent); }
.pp-quiz .traits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pp-quiz .trait-label { margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 20px; }
.pp-quiz .trait-col.strength .trait-label { color: #449a6b; }
.pp-quiz .trait-col.weakness .trait-label { color: #c4342d; }
.pp-quiz .trait-col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pp-quiz .trait-col li { position: relative; padding-left: 16px; color: #1d1d22; font-size: 16px; line-height: 24px; }
.pp-quiz .trait-col li::before { content: ''; position: absolute; top: 10px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .35; }
.pp-quiz .tip-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ececf1; color: #1d1d22; font-size: 16px; line-height: 24px; }
.pp-quiz .tip-item:last-child { border-bottom: 0; }
.pp-quiz .tip-num { flex: none; width: 20px; color: var(--lr-accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.pp-quiz .tip-item a { color: var(--lr-accent); text-decoration: underline; text-underline-offset: 3px; }
.pp-quiz .share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.pp-quiz .share-row svg { width: 16px; height: 16px; }
.pp-quiz .share-retake { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 0; border: 0; background: none; font: 500 15px/1 var(--lr-font); cursor: pointer; }
.pp-quiz .tool-local-status { margin: 12px 0 0; color: #6b6b75; font-size: 14px; }
.pp-quiz .tool-local-status[hidden] { display: none; }
.pp-quiz .pp-quiz-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #ececf1; color: #6b6b75; font-size: 15px; line-height: 22px; text-decoration: none; }
.pp-quiz .pp-quiz-next b { color: #1d1d22; font-weight: 600; }
.pp-quiz .pp-quiz-next-go { display: inline-flex; flex: none; align-items: center; gap: 6px; color: var(--lr-accent); font-weight: 500; }
.pp-quiz .pp-quiz-next-go .lr-icon { width: 16px; height: 16px; }
.pp-quiz-page .lr-faq-item summary { padding-inline: 0; color: #1d1d22; }
.pp-quiz-page .lr-faq-item p { padding-left: 0; font-size: 14px; }
.pp-quiz-page .lr-faq-head .lr-h2 span { color: #6b6b75; }
@media (max-width: 600px) {
    .pp-quiz { margin-top: 32px; }
    .pp-quiz .tool-quiz-card { padding: 20px; }
    .pp-quiz .question-text { margin-top: 20px; font-size: 20px; line-height: 28px; }
    .pp-quiz .result-type-name { font-size: 32px; line-height: 40px; }
    .pp-quiz .score-bar-row { grid-template-columns: 120px minmax(0, 1fr) 40px; gap: 10px; font-size: 14px; }
    .pp-quiz .traits-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .pp-quiz .pp-quiz-next { flex-direction: column; align-items: flex-start; gap: 12px; }
}
