/* Scoped to the SHAREtools homepage card; original product layouts stay intact. */
.hh-tools-carousel { margin:6px 0 20px; min-width:0; }
.hh-tools-carousel [hidden] { display:none!important; }
.hh-tools-track { display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; position:relative; scrollbar-width:thin; scrollbar-color:#c4d3e1 transparent; border-radius:8px; }
.hh-tool-slide { flex:0 0 100%; min-width:0; scroll-snap-align:start; scroll-snap-stop:always; display:grid; grid-template-columns:64px minmax(0,1fr); align-content:start; gap:10px 12px; border:1px solid #cddce8; border-radius:8px; background:#f4f7fa; padding:16px; color:#123e68; text-decoration:none; }
.hh-tool-slide:hover { border-color:#123e68; background:#edf3f8; }
.hh-tool-slide:focus-visible { outline:3px solid #ef1b2d; outline-offset:-4px; }
.hh-tool-art { width:64px; height:64px; display:grid; place-items:center; border:1px solid #d4e0eb; border-radius:14px; background:#fff; box-shadow:0 4px 10px #123e6808; }
.hh-tool-art svg { width:40px; height:40px; stroke:#123e68; stroke-width:1.65; }
.hh-tool-art svg > :last-child { stroke:#d80d29; }
.hh-tool-copy { align-self:center; min-width:0; }
.hh-tool-kind { display:block; font-size:10px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:#51677e; margin:0 0 5px; }
.hh-tool-title { display:block; color:#123e68; font-size:17px; font-weight:750; line-height:1.3; letter-spacing:-.02em; }
.hh-tool-description { grid-column:1/-1; font-size:13px; line-height:1.5; color:#42576a; }
.hh-tool-open { grid-column:1/-1; justify-self:start; color:#123e68; font-size:13px; font-weight:750; border-bottom:1px solid #123e68; margin-top:3px; }
.hh-tools-controls { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:10px; padding-top:10px; }
.hh-tools-controls button { min-height:44px; border:1px solid #c5d6e6; border-radius:5px; background:#fff; color:#123e68; padding:8px 12px; line-height:1.3; font-family:inherit; font-size:12px; font-weight:700; cursor:pointer; }
.hh-tools-controls button:first-child { justify-self:start; }
.hh-tools-controls button:last-child { justify-self:end; }
.hh-tools-controls button:hover:not(:disabled) { background:#123e68; color:#fff; }
.hh-tools-controls button:disabled { color:#6b7d8d; opacity:.6; cursor:default; }
.hh-tools-count { font-size:12px; color:#526678; font-variant-numeric:tabular-nums; white-space:nowrap; }
@media(max-width:420px) {
 .hh-tool-slide { padding:14px; grid-template-columns:56px minmax(0,1fr); gap:10px; }
 .hh-tool-art { width:56px; height:56px; border-radius:12px; }
 .hh-tool-art svg { width:36px; height:36px; }
 .hh-tool-title { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) { .hh-tools-track { scroll-behavior:auto; } }
@media print { .hh-tools-track { display:grid; grid-template-columns:1fr 1fr; overflow:visible; } .hh-tools-controls { display:none!important; } .hh-tool-slide { break-inside:avoid; } }
