.supported-tools { z-index: 5; }
.tools-grid { overflow: visible; }
.tool-download { position: relative; min-width: 0; }
.tool-download.is-open { z-index: 30; }
.tool-download-trigger { appearance: none; width: 100%; height: 100%; font-family: inherit; cursor: pointer; }
.tool-download-trigger:focus-visible { outline: 2px solid #8b8f99; outline-offset: 3px; }
.tool-download.is-open .tool-download-trigger { border-color: #c7c8cf; box-shadow: 0 8px 30px rgba(35,35,50,.12); }
.tool-download-panel { position: absolute; bottom: calc(100% + 16px); left: 50%; transform: translateX(-50%); width: 312px; padding: 18px; border: 1px solid #e1e2e8; border-radius: 16px; background: #fff; box-shadow: 0 18px 55px rgba(29,25,45,.15), 0 3px 10px rgba(29,25,45,.04); display: grid; gap: 8px; color: #202023; }
.tool-download-panel[hidden] { display: none; }
.tool-download.is-open::before { content: ""; position: absolute; bottom: 100%; left: -80px; right: -80px; height: 20px; }
.tool-download.is-open::after { content: ""; position: absolute; top: -23px; left: calc(50% - 6px); width: 12px; height: 12px; background: #fff; border-right: 1px solid #e1e2e8; border-bottom: 1px solid #e1e2e8; transform: rotate(45deg); }
.tool-download:last-child .tool-download-panel { left: auto; right: 0; transform: none; }
.tool-download-option { display: grid; grid-template-columns: 27px minmax(0, 1fr) 17px; align-items: center; gap: 13px; min-height: 72px; padding: 12px; border: 1px solid #e9e9ed; border-radius: 10px; background: #fafafa; color: inherit; text-decoration: none; }
.tool-download-option:hover, .tool-download-option:focus-visible { background: #f0f2f5; border-color: #aeb4c0; }
.tool-download-option:focus-visible { outline: 2px solid #8b8f99; outline-offset: 1px; }
.tool-download-option strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.tool-download-option small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: #71737c; }
.tool-os-icon { display: block; width: 25px; height: 25px; }
.tool-save-icon { display: block; width: 17px; height: 17px; color: #6e717b; }
.tool-icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
@media (min-width: 621px) and (max-width: 900px) {
  .tool-download:nth-child(4n) .tool-download-panel { left: auto; right: 0; transform: none; }
  .tool-download:nth-child(4n + 1) .tool-download-panel { left: 0; right: auto; transform: none; }
}
@media (max-width: 620px) {
  .tool-download-panel { width: min(312px, calc(100vw - 36px)); }
  .tool-download:nth-child(odd) .tool-download-panel { left: 0; right: auto; transform: none; }
  .tool-download:nth-child(even) .tool-download-panel { left: auto; right: 0; transform: none; }
  .tool-download.is-open::before { left: 0; right: 0; }
}
