#exc-form [hidden] { display: none !important; }
#exc-rows .exc-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: .75rem; align-items: end; padding: 1rem 0; border-bottom: 1px solid #e2e8f0; }
#exc-rows .qr-field { min-width: 0; }
#exc-rows input { width: 100%; min-width: 0; box-sizing: border-box; }
#exc-form .exc-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
#exc-form .exc-meter { height: 1rem; background: #e2e8f0; border-radius: .5rem; overflow: hidden; }
#exc-bar { height: 100%; width: 0; background: #2563eb; }
#exc-result.exc-over #exc-bar { background: #b91c1c; }
#exc-result.exc-over #exc-message { color: #b91c1c; font-weight: 700; }
#exc-high { color: #9a3412; }
@media (max-width: 600px) {
  #exc-rows .exc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #exc-rows .qr-field:first-child { grid-column: 1 / -1; }
  #exc-rows .exc-delete { grid-column: 1 / -1; justify-self: start; }
}
