:root {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: #14222f;
  background: #f3f6f8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 760px;
  margin: auto;
  padding: 16px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
h1 {
  font-size: 1.45rem;
}
section {
  background: white;
  border-radius: 16px;
  padding: 18px;
  margin: 16px 0;
  box-shadow: 0 2px 12px #0001;
}
label {
  display: block;
  margin: 12px 0;
  font-weight: 600;
}
input {
  display: block;
  width: 100%;
  padding: 13px;
  border: 1px solid #bbc5cf;
  border-radius: 9px;
  margin-top: 5px;
  font-size: 1rem;
}
button {
  border: 0;
  background: #174c86;
  color: white;
  border-radius: 10px;
  padding: 13px 18px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
.truckButtons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.truckButtons button {
  min-height: 110px;
  font-size: 1.3rem;
}
#big {
  background: #197146;
}
#small {
  background: #215bba;
}
#in {
  background: #246e79;
}
#out {
  background: #744c91;
}
.actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
#preview {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  margin: 12px 0;
  border-radius: 10px;
}
#counts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
#counts strong {
  padding: 12px;
  background: #e8f1fb;
  border-radius: 8px;
}
.entry {
  padding: 12px;
  border-top: 1px solid #e1e7ec;
}
.entry img {
  max-width: 100%;
  width: 260px;
  display: block;
  margin-top: 10px;
  border-radius: 8px;
}
#message {
  font-weight: 600;
  white-space: pre-wrap;
}
#logout {
  background: #505f6d;
}
