/* Unuploaded — /qr-code-reader/ page styles. ROUTE-LOCAL rather than in
   convert.css, and measured: folding ~1.1 KB into that SHELL sheet once pushed
   /stl-viewer/ and /3mf-to-stl/ past the page-weight assertion, and those two
   pages still hold only 172 and 407 bytes of headroom. */

/* The decoded payload is the point of the page, so it is given room and allowed
   to wrap — a long URL must be readable in full, since reading it before acting
   on it is the whole argument this page makes. */
#qr-answer {
  white-space: pre-wrap;
  word-break: break-all;
  min-height: 2.5rem;
}
#qr-answer:empty, #qr-detail:empty { display: none; }

.kind {
  font-weight: 600;
  margin: 0.6rem 0 0.2rem;
}
.kind:empty { display: none; }

/* A warning is a different thing from a note and must not read as one. */
#qr-detail.warn {
  border-left: 3px solid var(--warn, #b45309);
  padding-left: 0.7rem;
  white-space: pre-wrap;
}
