:root {
  --brand: #00316c;
  --ink: #151515;
  --muted: #626262;
  --line: #dedede;
  --soft: #f7f7f7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  color: var(--ink);
  margin: 0;
}

main {
  margin: 0 auto;
  max-width: 960px;
  padding: 40px 20px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 18px 0 12px;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.toolbar,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 22px;
}

button,
.button {
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  min-height: 42px;
  padding: 9px 14px;
  text-decoration: none;
}

button.secondary,
.button.secondary {
  background: #fff;
  color: var(--brand);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

input[type="file"] {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  width: 100%;
}

pre {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-height: 320px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}

.manager-list {
  display: grid;
  gap: 24px;
  margin: 24px 0;
}

.order-group {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}

.order-group h2 {
  font-size: 1.25rem;
  margin: 0 0 12px;
}

.order-item {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 12px;
}

.order-item strong,
.order-item span {
  display: block;
}

.order-item span {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 3px;
}

.arrow-buttons {
  display: flex;
  gap: 6px;
}

.arrow-buttons button {
  min-height: 34px;
  min-width: 38px;
  padding: 4px 10px;
}

.checkbox-item {
  justify-content: flex-start;
}

.checkbox-item input {
  height: 18px;
  width: 18px;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
}
