/* Discreet contact footer, outside the instrument's bounded grid. */
.site-contact{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;padding:8px max(16px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));color:#ccc;background:#171717;text-align:center}
.site-contact p{max-width:720px;margin:0;font-size:14px;line-height:20px;overflow-wrap:anywhere}
.site-contact .contact-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:100px;min-height:44px;padding:8px 18px;border:1px solid #555;border-radius:8px;background:#292929;color:#eee;font-size:14px;line-height:20px;text-decoration:none}
.site-contact .contact-button:hover{background:#373737}.site-contact .contact-button:focus-visible{outline:2px solid #6ddac6;outline-offset:3px}
@media(min-width:1024px) and (hover:hover) and (pointer:fine){main{height:calc(100dvh - 44px)}.site-contact{height:44px;gap:2px;padding-top:3px;padding-bottom:3px}.site-contact p{max-width:none;font-size:11px;line-height:14px}.site-contact .contact-button{min-width:76px;min-height:22px;height:22px;padding:0 10px;border-radius:5px;font-size:11px;line-height:18px}}

/* Keep the existing footer height: both actions occupy its existing button row. */
.site-contact .contact-actions{display:flex;align-items:center;justify-content:center;gap:12px}
#contactReviewStars{display:flex;align-items:center;touch-action:none}
#contactReviewStars button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:28px;min-width:0;height:44px;min-height:0;padding:3px;border:0;background:transparent;color:#aaa;cursor:pointer}
#contactReviewStars svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;pointer-events:none}
#contactReviewStars [data-lit=true]{color:#ffbe26}
#contactReviewStars [data-lit=true] svg{fill:currentColor}
#contactReviewStars button:focus-visible{outline:2px solid #6ddac6;outline-offset:-2px;border-radius:4px}
@media(min-width:1024px) and (hover:hover) and (pointer:fine){#contactReviewStars button{width:24px;height:22px}#contactReviewStars svg{width:18px;height:18px}}

/* Download stays in the existing action row; no extra footer height. */
.site-contact .contact-actions{width:100%;justify-content:flex-start;gap:8px}
.site-contact .manual-download{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 1 auto;min-width:0;min-height:44px;padding:0 4px;color:#ccc;font-size:12px;line-height:18px;white-space:normal;overflow-wrap:anywhere;text-underline-offset:3px}
.site-contact .manual-download:hover{color:#fff}
.site-contact .manual-download:focus-visible{outline:2px solid #6ddac6;outline-offset:-2px;border-radius:4px}
@media(max-width:480px){.site-contact .contact-button{min-width:64px;padding-inline:4px;font-size:12px}.site-contact .contact-actions{gap:4px}}
@media(min-width:1024px) and (hover:hover) and (pointer:fine){.site-contact .manual-download{min-height:22px;height:22px;font-size:11px}}
