:root {
  color-scheme: light;
  --app-scale: 0.8;
  --app-width: 1160px;
  --page: #f3f4f4;
  --ink: #202322;
  --muted: #666a68;
  --line: #2e3230;
  --soft-line: #8d918e;
  --panel: #fbfbfb;
  --shade: #e0e2e1;
  --green: #4db86a;
  --amber: #c99b43;
  --red: #d25751;
  --unit: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: calc(var(--app-width) * var(--app-scale));
  background: var(--page);
  color: var(--ink);
}

button,
select,
input {
  font: inherit;
}

.app-shell {
  width: var(--app-width);
  padding: 20px 28px 36px;
  transform: scale(var(--app-scale));
  transform-origin: top center;
  margin: 0 auto;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

select {
  min-width: 0;
  height: 32px;
  border: 2px solid var(--muted);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}

button:focus-visible,
select:focus-visible {
  outline: 2px solid var(--line);
  outline-offset: 2px;
}
