:root {
  color-scheme: light;
  font: 100%/1.5 system-ui, sans-serif;
  color: #172234;
  background: #edf1f5;
}

body {
  margin: 0;
  padding: clamp(1rem, 4vw, 3rem);
}

main {
  box-sizing: border-box;
  max-width: 72rem;
  margin-inline: auto;
  padding: clamp(1rem, 3.5vw, 2.5rem);
  border: 1px solid #d9e1eb;
  border-radius: 1rem;
  background: #fff;
}

header {
  margin-bottom: 1.5rem;
}

header p {
  margin: 0 0 .3rem;
  color: #485a70;
  font-size: .9rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 2.15rem);
  overflow-wrap: anywhere;
}

a {
  color: #034a85;
  overflow-wrap: anywhere;
}

#plate-image-link {
  display: block;
}

#plate-image-link[hidden] {
  display: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d9e1eb;
  box-sizing: border-box;
}

#plate-image-hint {
  font-size: .9rem;
  color: #485a70;
}

form label {
  display: block;
  margin-bottom: .4rem;
}

form div {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

input,
button {
  box-sizing: border-box;
  min-height: 2.75rem;
  border: 1px solid #708096;
  border-radius: .45rem;
  padding: .5rem .8rem;
  font: inherit;
}

input {
  flex: 1 1 13rem;
  max-width: 28rem;
  min-width: 0;
}

button {
  color: #fff;
  background: #163e64;
  border-color: #163e64;
  cursor: pointer;
}

.plate-message {
  color: #862419;
}
