/* Tool page layout: compact hero, full-width workspace, article column with a related-tools sidebar. */
.tp-hero { padding-top: 22px; padding-bottom: 20px; }
.tp-hero .crumbs { margin-bottom: 14px; }
.tp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.tp-title { display: flex; align-items: center; gap: 16px; flex: 1 1 520px; min-width: 0; }
.tp-title h1 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.06; letter-spacing: -.02em; }
.tp-title p { max-width: 680px; margin: 6px 0 0; font-size: 16px; color: var(--muted); }
.tp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tp-facts li { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.tp-facts .ico { width: 15px; height: 15px; color: var(--ok); }
.tp .result-empty { min-height: 200px; }
.tp-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 48px; padding-top: 44px; padding-bottom: 72px; }
.tp-main { display: flex; flex-direction: column; gap: 38px; flex: 999 1 560px; min-width: 0; }
.tp-main h2 { margin: 0 0 14px; font-size: clamp(1.35rem, 2.2vw, 1.65rem); letter-spacing: -.01em; }
.tp-lead { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.tp-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.tp-steps li { display: flex; gap: 14px; }
.tp-steps b { display: block; margin-bottom: 2px; font-weight: 600; }
.tp-steps span:not(.tp-num) { color: var(--ink-2); line-height: 1.55; }
.tp-num { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-ink); font-size: 14px; font-weight: 700; }
.tp-uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.tp-uses li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 14.5px; line-height: 1.45; }
.tp-uses .ico { flex: none; margin-top: 2px; color: var(--ok); }
.tp-side { display: flex; flex-direction: column; gap: 16px; flex: 1 1 280px; min-width: 0; }
.tp-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.tp-label { margin: 0 0 6px; font: 600 12px/1.2 var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.tp-related { margin: 0 0 10px; padding: 0; list-style: none; }
.tp-related li + li { border-top: 1px solid var(--line); }
.tp-related a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--ink); }
.tp-related a:hover b { color: var(--brand-ink); }
.tp-related span { min-width: 0; }
.tp-related b { display: block; font-size: 14.5px; font-weight: 600; }
.tp-related small { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13px; line-height: 1.4; color: var(--muted); }
.tp-guide { border-color: transparent; background: var(--brand-soft); }
.tp-guide-title { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.tp-guide p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin: 6px 0 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.tp-side .managed-ad { margin: 0; }
.tp-share:empty { display: none; }
.tp-share > * { margin: 0; }
