:root { color-scheme: light dark; font-family: system-ui, sans-serif; }
body { margin: 0; line-height: 1.6; }
main { max-width: 46rem; padding: 2rem 1.25rem; margin: auto; }
h1 { line-height: 1.2; font-size: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
button, .download { font: inherit; padding: .6rem 1rem; border: 1px solid currentColor; border-radius: .35rem; }
button, .download { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
.download { text-decoration: none; }
progress { width: 100%; height: 1.1rem; }
#detail { overflow-wrap: anywhere; font-size: .9rem; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }

.inventory { overflow-x: auto; }
.inventory table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.inventory th, .inventory td { padding: .65rem; border-bottom: 1px solid currentColor; text-align: left; vertical-align: top; }
.inventory td:first-child { overflow-wrap: anywhere; }
.inventory code { display: block; overflow-wrap: anywhere; font-size: .72rem; }
