:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  background: #fff;
  color: #111;
}

* { box-sizing: border-box; }

body {
  min-height: 100svh;
  margin: 0;
  padding: 20px;
  display: grid;
  place-items: center;
}

main {
  width: min(100%, 480px);
  display: grid;
  gap: 8px;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 8px;
}

input, button {
  min-width: 0;
  height: 38px;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
}

input { padding: 0 10px; }
input::placeholder { color: #666; }
button { cursor: pointer; }
button:disabled { color: #666; cursor: default; }
button:hover:not(:disabled) { background: #f5f5f5; }

#status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
