body {
  font-family: Inter, sans-serif;
  margin: 0;
  background: #0b1220;
  color: #e6eef7;
  padding: 20px;
}
.light {
  background: #f5f5f5;
  color: #333;
}
h1 {
  margin-bottom: 8px;
}
.hint {
  font-size: 12px;
  color: #9fb3c8;
  margin-top: 0;
  margin-bottom: 14px;
}
.light .hint {
  color: #6a6a6a;
}
.controls {
  display: grid;
  grid-template-columns: 160px 160px 160px repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
label {
  font-size: 12px;
  margin-bottom: 4px;
  display: block;
}
select,
input {
  width: 100%;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #444;
  background: transparent;
  color: inherit;
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
button {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}
.light button.secondary {
  background: #ececec;
}
button.primary {
  background: #2b7fff;
  color: #fff;
}
.status-pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cfe6ff;
}
.light .status-pill {
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #2b2b2b;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.card {
  background: #121a2b;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.light .card {
  background: #fff;
  color: #333;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.kpi-title {
  font-size: 12px;
  color: #9fb3c8;
}
.light .kpi-title {
  color: #6a6a6a;
}
.kpi-value {
  font-size: 22px;
  font-weight: 700;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
th,
td {
  padding: 6px;
  border-bottom: 1px solid #333;
  text-align: left;
  font-size: 12px;
}
.light th,
.light td {
  border-bottom: 1px solid #ccc;
}
canvas {
  max-height: 300px;
  margin-top: 8px;
}
.note {
  font-size: 12px;
  color: #9fb3c8;
  margin: 0;
}
.light .note {
  color: #6a6a6a;
}

.btn-deliver {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(46, 204, 113, 0.15);
  color: #c9f7d7;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-deliver:hover {
  background: rgba(46, 204, 113, 0.25);
}
.btn-deliver:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}


