/* Sprint 86: keeps filtering, source explanations and tool navigation readable on mobile. */
.s86-tool-finder {margin:1rem 0 1.3rem;padding:1.1rem 1.2rem;border:1px solid #c5d8d6;border-radius:16px;background:#f4faf8;color:#1b3540}
.s86-tool-finder h2{margin:0 0 .25rem;font-size:clamp(1.2rem,2.5vw,1.55rem)}
.s86-tool-finder p{margin:.3rem 0 .7rem;line-height:1.55}
.s86-tool-search-row{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem}
.s86-tool-search-row label{font-weight:700;flex:0 0 100%}
.s86-tool-search-row input{background:white;border:1px solid #7d9998;border-radius:9px;min-height:44px;flex:1 1 230px;padding:.6rem .8rem;font:inherit;min-width:0}
.s86-tool-search-row button{border:1px solid #1f5657;border-radius:9px;background:#fff;color:#174849;padding:.55rem 1rem;min-height:44px;font:inherit;cursor:pointer}
.s86-tool-search-row button:disabled{opacity:.55;cursor:default}
.s86-tool-count{font-weight:650;font-size:.91rem;color:#255052}
.s86-tool-assistance{border:1px solid #c9d9d7;border-radius:16px;margin:1.5rem auto 2rem;padding:1.1rem 1.3rem;background:#f3faf8;color:#16383a;max-width:1120px}
.s86-tool-assistance h2{font-size:clamp(1.15rem,2.2vw,1.5rem);margin:.25rem 0 .5rem;color:#113b3c}
.s86-tool-assistance p{max-width:85ch;margin:.5rem 0;line-height:1.65}
.s86-tool-assistance .s86-tool-explanation{border-left:3px solid #338079;padding-left:.85rem}
.s86-tool-assistance nav{display:flex;gap:.65rem 1.2rem;flex-wrap:wrap;margin-top:1rem}
.s86-tool-assistance nav a{font-weight:650;text-decoration:underline;text-underline-offset:3px;color:#105c57}
.s86-tool-assistance a:focus-visible,.s86-tool-finder input:focus-visible,.s86-tool-finder button:focus-visible{outline:3px solid #2b7194;outline-offset:3px}
/* Generic display rules override directory grid items that have their own display properties. */
#s86-tool-sections a.subtopic-card[hidden],#s86-tool-sections .tools-directory-section[hidden]{display:none!important}
@media(max-width:600px){.s86-tool-finder,.s86-tool-assistance{padding:.85rem 1rem;border-radius:12px}.s86-tool-search-row button{flex-shrink:0}.s86-tool-assistance nav{flex-direction:column;align-items:flex-start}}
@media print{.s86-tool-finder,.s86-tool-assistance nav{display:none!important}.s86-tool-assistance{background:transparent;border:0;padding:0}}
