:root { color-scheme: light dark; }
body { font-family: "Times New Roman", Times, serif; max-width: 42rem; margin: 2rem auto; padding: 0 1rem; line-height: 1.4; }
input, button { font: inherit; }
input { width: 100%; max-width: 30rem; box-sizing: border-box; }
#add { display: flex; gap: 0.5rem; }
#add input { max-width: none; }
table { width: 100%; border-collapse: collapse; }
td { padding: 0.4rem 0.75rem 0.4rem 0; vertical-align: top; border-top: 1px solid; overflow-wrap: anywhere; }
td:nth-child(2) { white-space: nowrap; }
td:last-child { padding-right: 0; text-align: right; white-space: nowrap; }
