* { box-sizing: border-box; }
body { margin: 0; font: 20px/1.4 system-ui, sans-serif; color: #000; background: #fff; }
header { border-bottom: 3px solid #000; padding: 12px 24px; }
h1 { margin: 0; font-size: 28px; }
main { max-width: 900px; margin: 0 auto; padding: 16px 24px 100px; }
button { font: inherit; min-height: 56px; padding: 0 24px; border: 2px solid #000; background: #fff; color: #000; cursor: pointer; }
button.primary { background: #0a4; border-color: #0a4; color: #fff; font-weight: 700; }
button:disabled { opacity: .4; }
.row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 8px 12px; border-bottom: 1px solid #999; }
.row.tap { cursor: pointer; }
.row.selected { background: #e8f5ec; border-left: 6px solid #0a4; }
.row .meta { color: #333; }
input[type=search] { width: 100%; font: inherit; min-height: 56px; padding: 0 12px; border: 2px solid #000; margin-bottom: 12px; }
.twos { display: flex; align-items: center; gap: 8px; }
.twos input { width: 32px; height: 32px; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 3px solid #000; padding: 12px 24px; display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.total { font-size: 28px; font-weight: 700; }
.error { border: 2px solid #c00; color: #c00; padding: 12px; margin: 12px 0; }
.done { text-align: center; padding: 48px 0; }
table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: 10px 12px; border-bottom: 1px solid #999; }
td.r, th.r { text-align: right; }
