/* OPERO free tools: page layout around the tool (crumbs, title, guide, FAQ, related tools).
   Bricks provides the site header and footer; colours follow the site's dark tokens (Header template 68). */
.tp-page { color: var(--dk-text, #0b0b0b); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
:where(.tp-page a) { color: inherit; } /* zero specificity: buttons and the CTA keep their own colours */
/* Same width and side padding as the site's .op-container / header, so edges line up with Home. */
.tp-wrap { max-width: calc(1024 * var(--u, 1.40625px)); margin: 0 auto; padding: 0 clamp(40px, calc(62.58 * var(--u, 1.40625px)), 88px); box-sizing: border-box; }
@media (max-width: 991px) { .tp-wrap { max-width: none; padding: 0 40px; } }
@media (max-width: 767px) { .tp-wrap { padding: 0 24px; } }
.tp-page .tp-steps { margin: 0 0 14px; padding-left: 22px; }
.tp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 18px; font-size: 13px; color: var(--dk-text-3, #8a8a8f); }
.tp-crumbs a { text-decoration: none; }
.tp-crumbs a:hover { color: var(--dk-text, #0b0b0b); }
.tp-h1 { margin: 0; max-width: 820px; font-size: clamp(36px, 5vw, 60px); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; }
.tp-lead { max-width: 720px; margin: 18px 0 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; color: var(--dk-text-2, #525252); }
.tp-trust { margin: 14px 0 32px; font-size: 13px; font-weight: 500; color: var(--dk-text-3, #8a8a8f); }

.tp-article { max-width: 780px; margin-top: 72px; padding-bottom: 96px; font-size: 17px; line-height: 1.65; color: var(--dk-text-2, #3f3f46); }
.tp-sec { margin-bottom: 56px; }
.tp-sec h2 { margin: 0 0 16px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; color: var(--dk-text, #0b0b0b); }
.tp-sec p { margin: 0 0 14px; }
.tp-sec ul, .tp-sec ol { margin: 0 0 14px; padding-left: 22px; }
.tp-sec li { margin-bottom: 8px; }
.tp-sec b { color: var(--dk-text, #0b0b0b); font-weight: 600; }
.tp-sec a { color: var(--dk-link, #0b0b0b); text-underline-offset: 3px; }
.tp-formula { margin: 18px 0; padding: 18px 20px; border-radius: 14px; background: var(--dk-surface, #f4f4f5); font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--dk-text, #0b0b0b); }
.tp-dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 20px; margin: 0 0 14px; }
.tp-dl dt { font-weight: 600; color: var(--dk-text, #0b0b0b); }
.tp-dl dd { margin: 0; }
@media (max-width: 560px) { .tp-dl { grid-template-columns: 1fr; gap: 2px; } .tp-dl dd { margin-bottom: 10px; } }

.tp-faq details { border-top: 1px solid var(--dk-border, #e4e4e7); padding: 16px 0; }
.tp-faq details:last-child { border-bottom: 1px solid var(--dk-border, #e4e4e7); }
.tp-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--dk-text, #0b0b0b); }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after { content: "+"; color: var(--dk-text-3, #8a8a8f); font-weight: 500; }
.tp-faq details[open] summary::after { content: "–"; }
.tp-faq p { margin: 10px 0 0; }

.tp-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tp-rel { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 14px; background: var(--dk-surface, #f4f4f5); text-decoration: none; font-size: 14px; line-height: 1.45; }
.tp-rel b { font-size: 15px; color: var(--dk-text, #0b0b0b); }
a.tp-rel:hover { outline: 1px solid var(--dk-border-2, #d4d4d8); }
.tp-rel.is-soon { opacity: .6; }
.tp-meta { font-size: 13px; color: var(--dk-text-3, #8a8a8f); }
.tp-hub { margin-top: 40px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } .tp-hub .tp-rel { padding: 24px; min-height: 120px; } .tp-hub .tp-rel b { font-size: 18px; }
