:root {
  color-scheme: light;
  font: 100%/1.55 system-ui, sans-serif;
  color: #172936;
  background: #f3f5f6;
}
body { margin: 0; }
header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: 1rem max(1.25rem, calc((100% - 48rem) / 2));
  background: #143747;
  color: white;
}
header span:first-child { font-weight: 700; }
main { margin: 2rem auto; padding: 0 1.25rem; max-width: 46rem; }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.2; margin-bottom: .5rem; }
h2 { font-size: 1.25rem; }
#machine { font-weight: 600; }
nav, .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
form { margin: 1.5rem 0; max-width: 23rem; }
label { display: block; margin-top: .75rem; }
input, button { font: inherit; border: 1px solid #446577; border-radius: .25rem; }
input { box-sizing: border-box; padding: .6rem; width: 100%; }
button { cursor: pointer; min-height: 2.75rem; padding: .5rem .85rem; background: white; color: #143747; }
button:disabled { cursor: wait; }
#submit { margin-top: 1rem; color: white; background: #143747; }
#logout { margin-top: 1rem; }
a { color: #145477; }
select { max-width: 100%; padding: .5rem; font: inherit; color: inherit; }
#management section { margin-top: 1.75rem; }
#management summary { margin-top: .75rem; cursor: pointer; }
#management form button { margin-top: 1rem; }
#manager-documents li { margin-bottom: .85rem; }
#manager-documents .actions { margin-top: .25rem; align-items: center; }
#qr-result { display: block; width: min(100%, 16rem); height: auto; margin: 1rem 0 .5rem; image-rendering: pixelated; }
:focus-visible { outline: 3px solid #087099; outline-offset: 3px; }
[hidden] { display: none; }
