* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: #f2f5fa;
  color: #172033;
  font-family: sans-serif;
}

.camera {
  position: relative;
}
.camera__body {
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
}
.camera__top {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}
.camera__bottom {
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.camera__loading {
  position: absolute;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  padding: 20px;
  color: #ffffff;
  text-shadow: 0 1px 4px #000000;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  background: #172033;
  -o-object-fit: cover;
     object-fit: cover;
}

canvas, #photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  background: #172033;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

button, #save {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  font: inherit;
  background: none;
  color: white;
  border: none;
  text-decoration: none;
  cursor: pointer;
}

button:disabled {
  opacity: 0.45;
  cursor: default;
}

.icon-button, #save.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 14px;
  flex-shrink: 0;
}

.icon-button svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button:focus-visible {
  outline: 3px solid #e9a400;
  outline-offset: 3px;
}

#retry-camera { pointer-events: auto; width: auto; height: auto; min-height: 44px; padding: 12px 16px; background: #254fbd; border-radius: 8px; }

#status {
  min-height: 3em;
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}
/*# sourceMappingURL=style.css.map */