/* Deliberately not the manager's design: this site stands in for somebody else's system. */

:root {
  color-scheme: light;
  --ink: #1b1f23;
  --muted: #4d5762;
  --line: #c9d1d9;
  --accent: #5b2a86;
  --surface: #f4f1f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.banner {
  background: var(--accent);
  color: #fff;
}

.banner__name {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

main {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

h1 {
  margin: 1.5rem 0 1rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.375rem;
}

a {
  color: var(--accent);
}

a:focus,
summary:focus {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

code,
pre {
  font-family: ui-monospace, menlo, consolas, monospace;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

pre {
  margin: 0.5rem 0 0;
  padding: 0.75rem;
  background: var(--surface);
  white-space: pre-wrap;
}

.notice {
  margin: 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
}

.totals {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}

.totals div {
  min-width: 9rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-left: 0.25rem solid var(--accent);
}

.totals dt {
  color: var(--muted);
  font-size: 1rem;
}

.totals dd {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.deliveries {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliveries li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.deliveries li:first-child {
  border-top: 1px solid var(--line);
}

h3 {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
}

.detail {
  margin: 0 0 0.25rem;
  color: var(--muted);
}

.tag {
  display: inline-block;
  padding: 0 0.375rem;
  background: var(--surface);
  color: var(--accent);
  font-size: 0.875rem;
}

summary {
  color: var(--accent);
  cursor: pointer;
}
