/* Category hubs and information pages: one calm, readable layout. */
html body main.wrap,html body main.sidebar-page{max-width:1040px!important;padding-top:32px!important;padding-bottom:64px!important}
html body main.wrap>nav[aria-label="Breadcrumb"]{display:none}
html body main.wrap>section h1,html body main.sidebar-page h1,html body main.max-w-3xl h1{font-size:clamp(28px,4vw,40px)!important;line-height:1.15!important;letter-spacing:-.02em!important;font-weight:700!important;color:#172b24!important;margin:0 0 10px!important}
html body main.wrap>section p{max-width:64ch;font-size:16px;line-height:1.6;color:#475569}
html body main.wrap>section p+p{margin-top:8px}
html body main.wrap>section.space-y-3>*+*{margin-top:8px!important}
/* calculator cards */
html body .cat-page-grid .tool-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(290px,1fr))!important;gap:14px!important}
html body .tool-card.thin{display:flex!important;flex-direction:column;gap:10px;padding:18px 20px!important;border:1px solid #e2e8f0!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important;text-decoration:none;transition:border-color .15s}
html body .tool-card.thin:hover{border-color:#14532d!important;transform:none!important}
html body .tool-card .thin-head{display:flex;align-items:center;gap:12px}
html body .tool-card .tile{width:40px!important;height:40px!important;border-radius:12px!important;font-size:16px!important}
html body .tool-card .tool-title{font-size:16px;font-weight:700;line-height:1.3;color:#111827}
html body .tool-card .tool-desc{font-size:14px;line-height:1.5;color:#475569;flex:1}
html body .tool-card .tool-cta{font-size:14px;font-weight:700;color:#14532d}
/* information pages */
html body main.max-w-3xl{max-width:760px!important;padding-top:32px!important;padding-bottom:64px!important}
html body main.max-w-3xl h2{font-size:22px!important;line-height:1.25!important;font-weight:700!important;color:#172b24!important;margin:36px 0 10px!important;letter-spacing:-.01em}
html body main.max-w-3xl h3{font-size:17px!important;font-weight:700!important;color:#172b24!important;margin:22px 0 6px!important}
html body main.max-w-3xl p,html body main.max-w-3xl li{font-size:16px;line-height:1.65;color:#374151}
html body main.max-w-3xl>*+*{margin-top:0!important}
html body main.max-w-3xl>section,html body main.max-w-3xl>div{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;border-radius:0!important}
html body main.max-w-3xl a{color:#14532d;font-weight:600}
html.dark body main.wrap>section h1,html.dark body main.max-w-3xl h1,html.dark body main.max-w-3xl h2,html.dark body main.max-w-3xl h3,html.dark body main.sidebar-page h1{color:#f1f5f9!important}
html.dark body main.wrap>section p,html.dark body main.max-w-3xl p,html.dark body main.max-w-3xl li,html.dark body .tool-card .tool-desc{color:#cbd5e1}
html.dark body .tool-card.thin{background:#141418!important;border-color:#2a2a33!important}
html.dark body .tool-card .tool-title{color:#f8fafc}
html.dark body .tool-card .tool-cta,html.dark body main.max-w-3xl a{color:#86efac}

/* card text wraps and reads left-aligned inside its own card */
html body .cat-page-grid{max-width:none!important;width:100%!important}
html body .cat-page-grid .tool-grid{max-width:none!important;width:100%!important}
html body .tool-card.thin{align-items:stretch!important;text-align:left!important;min-width:0!important}
html body .tool-card.thin .thin-head{justify-content:flex-start!important;text-align:left}
html body .tool-card.thin .tool-title,html body .tool-card.thin .tool-desc{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;min-height:0!important;text-align:left!important}
html body .tool-card.thin .tool-cta{margin-top:auto!important}
html body .cat-page-grid{display:block!important;grid-template-columns:none!important}
