.tools-page,.tools-directory{margin:0 auto;padding:40px 24px;max-width:1024px}.tools-directory{max-width:1280px}.tools-dynamic{max-width:820px;padding-top:48px}.tools-back{display:inline-flex;gap:6px;margin-bottom:32px;color:hsl(var(--muted-foreground));font-size:14px}.tools-heading{margin-bottom:40px}.tools-heading h1{font-size:30px;font-weight:700;letter-spacing:-.025em;line-height:1.2;margin-bottom:12px}.tools-heading p{max-width:768px;font-size:18px;line-height:1.625;color:hsl(var(--muted-foreground))}.tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tools-card{display:flex;flex-direction:column;gap:8px;border:1px solid hsl(var(--border));border-radius:12px;background:hsl(var(--card));padding:24px;min-width:0}.tools-card:hover{border-color:hsl(var(--primary)/.4)}.tools-card h3{font-size:16px;font-weight:600}.tools-card p,.tools-group>p{font-size:14px;color:hsl(var(--muted-foreground));line-height:1.5}.tools-card span{font-size:13px;color:hsl(var(--primary));margin-top:auto}.tools-group{margin:40px 0}.tools-group h2,.tools-links h2,.tools-faq h2{font-size:24px;font-weight:700;margin-bottom:12px}.tools-group>p{margin-bottom:20px}.tools-filter{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:40px}.tools-filter input,.tools-newsletter input{border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--background));padding:10px 12px;min-height:44px}.tools-category-buttons{display:flex;flex-wrap:wrap;gap:8px}.tools-category-buttons button{border:1px solid hsl(var(--border));border-radius:8px;min-height:44px;padding:8px 16px;font-size:14px}.tools-category-buttons button[aria-pressed=true],.tools-primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-radius:12px;padding:12px 20px;font-weight:600;min-height:44px;display:inline-flex;align-items:center}.tools-sections,.tools-links,.tools-faq,.tools-cta{margin-top:64px}.tools-sections>div{border-bottom:1px solid hsl(var(--border));padding-bottom:32px;margin-bottom:24px}.tools-sections h2{font-size:20px;font-weight:700;margin-bottom:12px}.tools-links>div:not(.tools-grid){display:flex;flex-wrap:wrap;gap:12px}.tools-links>div:not(.tools-grid) a{font-size:14px;color:hsl(var(--primary))}.tools-cta{padding:32px;border:1px solid hsl(var(--border));background:hsl(var(--muted)/.3)}.tools-cta p{margin-bottom:20px;line-height:1.625}.tools-faq details{border:1px solid hsl(var(--border));border-radius:8px;margin-top:8px}.tools-faq summary{cursor:pointer;padding:16px;font-size:14px;font-weight:600}.tools-faq details p{border-top:1px solid hsl(var(--border));padding:16px;font-size:14px;line-height:1.6;color:hsl(var(--muted-foreground))}.tools-editorial-image{max-width:640px;margin:40px auto}.tools-editorial-image img{width:100%;height:auto;border-radius:12px}.tools-newsletter{display:flex;gap:16px;align-items:center;justify-content:space-between;border:1px solid hsl(var(--border));background:hsl(var(--muted)/.3);border-radius:12px;padding:20px 24px;margin-bottom:40px;font-size:14px}.tools-newsletter p{font-size:12px;color:hsl(var(--muted-foreground))}.tools-newsletter form{display:flex;gap:8px;flex-wrap:wrap}.tools-newsletter [role=status]{flex-basis:100%}.tools-page [hidden],.tools-directory [hidden]{display:none!important}@media(min-width:768px){.tools-heading h1{font-size:36px}}@media(max-width:767px){.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tools-newsletter{align-items:stretch;flex-direction:column}}@media(max-width:479px){.tools-page,.tools-directory{padding:40px 16px}.tools-grid{grid-template-columns:1fr}.tools-newsletter input{min-width:0;width:100%}.tools-newsletter form{flex-direction:column}}
.tools-card:has(.tools-card-icon){flex-direction:row;gap:12px;padding:16px}.tools-card-icon{flex-shrink:0;display:flex;width:36px;height:36px;align-items:center;justify-content:center;color:hsl(var(--primary))}.tools-card-icon svg{width:22px;height:22px}.tools-card-icon .tools-card-glyph{width:32px;height:32px}.tools-card-icon .tools-card-brand{width:28px;height:28px;color:hsl(var(--foreground))}.tools-card-copy{min-width:0}.tools-card .tools-card-copy h3{font-size:14px;font-weight:700;line-height:1.25}.tools-card .tools-card-copy p{font-size:12px;margin-top:6px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tools-group>h2{font-size:18px}.tools-group>p{font-size:12px}.tools-directory .tools-grid{gap:12px}

/* W71: match Source ToolLayout typography and container spacing. */
.tools-back{align-items:center;gap:6px;line-height:20px}.tools-heading h1{line-height:36px}.tools-sections>div:last-child{border-bottom:0}.tools-sections h2{line-height:28px}.tools-heading{margin-bottom:40px}
.tools-editorial-links h2{font-size:18px;line-height:28px}.tools-editorial-links+.tools-editorial-links{margin-top:32px}.tools-editorial-links a{display:inline-flex;align-items:center;gap:4px}.tools-editorial-links a svg{height:14px;width:14px}.tools-cta .tools-next-step{font-size:12px;letter-spacing:.24em;font-weight:600;text-transform:uppercase;color:hsl(var(--primary)/.8);margin-bottom:12px}.tools-faq>p{color:hsl(var(--muted-foreground));font-size:18px;margin-bottom:40px}.tools-faq{padding:64px 16px}.tools-faq>h2{font-size:30px;line-height:36px;text-align:center}.tools-faq>p{text-align:center}.tools-faq-columns{display:grid;gap:12px}.tools-faq details{padding:0 24px;margin-top:12px;border-radius:12px}.tools-faq summary{padding:20px 0;font-size:16px;line-height:24px;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px}.tools-faq summary h3{font-size:16px;line-height:24px;font-weight:600}.tools-faq details p{padding:0 0 20px;border:0;font-size:16px;line-height:26px}
@media(min-width:768px){.tools-heading h1{line-height:40px}}
@media(min-width:768px){.tools-faq-columns{grid-template-columns:1fr 1fr}}

/* W72: pinned ToolLayout/FAQSection/ToolCard geometry. Scoped to public tools. */
.tools-related{margin-top:64px}.tools-related>h2{font-size:20px;font-weight:700;line-height:28px;margin-bottom:20px}.tools-related-grid{grid-template-columns:minmax(0,1fr);gap:12px}.tools-card-copy{flex:1}.tools-source-faq h3{margin:0}.tools-source-faq button{gap:0;line-height:24px;width:100%;min-height:44px}.tools-source-faq [data-state=open]>svg{transform:rotate(180deg)}.tools-source-faq [data-tool-faq-item][data-state=open]{box-shadow:0 1px 2px 0 rgb(0 0 0/.05)}.tools-source-faq [hidden]{display:none!important}.tools-source-sections>div:last-child{border-bottom-width:0}
@media(min-width:640px){.tools-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.tools-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.tools-related .tools-card-copy p{line-height:16px}

/* Source ToolCard aligns its icon to the start of the title, including multiline descriptions. */
.tools-related .tools-card{align-items:flex-start}.tools-related .tools-card-icon{margin-top:0}

/* Source ToolLayout CTA ArrowRight has ordinary flex shrinking. */
.tools-source-cta svg{flex-shrink:1}
