/* Page-specific layout: a fresh asset prevents old sidebar CSS being reused. */
body.tools-page .calc-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; padding:12px; overflow:visible; }
body.tools-page .calc-tab { min-width:0; min-height:56px; white-space:normal; border:1px solid var(--border); border-radius:10px; padding:12px; line-height:1.4; }
body.tools-page .topic-toggle { display:flex; flex-wrap:wrap; border-radius:14px; gap:8px; padding:8px; }
body.tools-page .topic-btn { flex:1 1 120px; min-height:48px; border-radius:10px; }

@media(max-width:700px) {
  body.tools-page .calc-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
